Skip to content

Commit

Permalink
README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
amitansu1024 committed Jul 3, 2023
1 parent 093defb commit 25dfe39
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 13 deletions.
14 changes: 7 additions & 7 deletions Assets/MainGame.unity
Original file line number Diff line number Diff line change
Expand Up @@ -1997,7 +1997,7 @@ BoxCollider:
m_IsTrigger: 1
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 2, y: 2, z: 2}
m_Size: {x: 3, y: 3, z: 3}
m_Center: {x: 0, y: 0, z: 0}
--- !u!54 &963194231
Rigidbody:
Expand Down Expand Up @@ -2917,7 +2917,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!114 &1362354729
MonoBehaviour:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -3459,7 +3459,7 @@ Light:
m_Type: 2
m_Shape: 0
m_Color: {r: 0.25955856, g: 0.31044284, b: 0.4339623, a: 1}
m_Intensity: 45
m_Intensity: 55
m_Range: 1000
m_SpotAngle: 30
m_InnerSpotAngle: 21.80208
Expand Down Expand Up @@ -3893,7 +3893,7 @@ Light:
m_Type: 2
m_Shape: 0
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_Intensity: 15
m_Intensity: 20
m_Range: 1000
m_SpotAngle: 30
m_InnerSpotAngle: 21.80208
Expand Down Expand Up @@ -4255,17 +4255,17 @@ PrefabInstance:
- target: {fileID: 5690933691209944869, guid: 25c559e90951e044dbaee2447bcb8a1b,
type: 3}
propertyPath: m_Size.x
value: 2
value: 3
objectReference: {fileID: 0}
- target: {fileID: 5690933691209944869, guid: 25c559e90951e044dbaee2447bcb8a1b,
type: 3}
propertyPath: m_Size.y
value: 2
value: 3
objectReference: {fileID: 0}
- target: {fileID: 5690933691209944869, guid: 25c559e90951e044dbaee2447bcb8a1b,
type: 3}
propertyPath: m_Size.z
value: 2
value: 3
objectReference: {fileID: 0}
- target: {fileID: 5690933691209944869, guid: 25c559e90951e044dbaee2447bcb8a1b,
type: 3}
Expand Down
8 changes: 4 additions & 4 deletions Assets/Scripts/ScoreSpaceShip/ScoreSpaceShipAIHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ private void Awake() {
_playerShip = GameObject.Find("Main Camera");
_laserSpeed = 5.0f;
_aware = false;
_awareDistance = 40.0f;
_minimumDistanceFromPlayerShip = 80.0f;
shipSpeed = 4.0f;
_awareDistance = 30.0f;
_minimumDistanceFromPlayerShip = 40.0f;
shipSpeed = 5.0f;
}
void FixedUpdate() {

Expand All @@ -48,7 +48,7 @@ void FixedUpdate() {
}
void MoveAway() {
LootAtYouAnimation();
if (Vector3.Distance(_playerShip.transform.position, transform.position) > _minimumDistanceFromPlayerShip + 30.0f)
if (Vector3.Distance(_playerShip.transform.position, transform.position) > _minimumDistanceFromPlayerShip + 20.0f)
transform.position = Vector3.MoveTowards(transform.position,
_playerShip.transform.position,
-shipSpeed * Time.deltaTime);
Expand Down
2 changes: 1 addition & 1 deletion ProjectSettings/InputManager.asset
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ InputManager:
negativeButton:
positiveButton: left ctrl
altNegativeButton:
altPositiveButton: space
altPositiveButton: mouse 0
gravity: 1000
dead: 0.001
sensitivity: 1000
Expand Down
2 changes: 1 addition & 1 deletion ProjectSettings/ProjectSettings.asset
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ PlayerSettings:
webGLTemplate: APPLICATION:Default
webGLAnalyzeBuildSize: 0
webGLUseEmbeddedResources: 0
webGLCompressionFormat: 2
webGLCompressionFormat: 1
webGLWasmArithmeticExceptions: 0
webGLLinkerTarget: 1
webGLThreadsSupport: 0
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,15 @@

This is a casual game where you wander through lustrous and beautiful space to find other spaceships, the game is from the perspective of the First Person Camera. So, you should see what the camera sees without any obstruction and control you ship likewise.

You can play the game here https://amitansu1024.itch.io/starrunner
## Environment

### SkyBox / Distant Space Screen
![Ship image](res/Nebula%20Space_up.png)
The far space is filled with green nebula clouds and distant small starts which sets the vibe of the deep space, this pattern is non-repeating so, everywhere you see you will have some different views.

### Asteroids
![Ship image](res/Asteroids.png)
The asteroids are procedurally generated for every playthrough meaning their position, shape and size would be different each time you play the game. The player has to navigate through this cluster of asteroids while looking for other spaceships.

The asteroids are constantly rotating and also have collision to them, this means when the player will collide with them they will lose health.
Expand All @@ -29,6 +32,7 @@ The player has 5 lives which decrease by the collision with asteroids.
## Other Spaceship
### 3D Model
The other spaceship which the player has to collect in order to score is a blue spaceship.
![Ship image](res/otherSpaceship.png)
### AI behaviour
The ship is idle at start, but will become aware of the player ship if it comes too close. Then it will start to avoid it.

Expand Down
Binary file added res/Asteroids.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/Nebula Space_up.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/otherSpaceship.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 25dfe39

Please sign in to comment.