Self Study 4 -- Simple Game


Hello for this week self study, I have implemented an spawner object into the world  which will spawn enemies that will chase the target/player as well as added a health functionality for a the player

enemies spawning and chasing the player 


The implementation of this functionality: the enemy will randomly spawn every seconds. Once the enemy has spawned, the enemy will find and detect the player object which has the tag 'player'.  Once the target player has been detected, the enemy object will chase the player. Once the player has collided with the player, the enemy object will destroy itself, and the health of the player will decrease. 

This scene also contains a health pack using the assets found on the unity asset store: 

https://assetstore.unity.com/packages/3d/props/simple-gems-ultimate-animated-cus...

When the player interacts with health by simply colliding with the hearts using a 'trigger' detection, the health of the player will increase. 


Once the player has no health, the player object will destroy itself, and the game will be over 


Leave a comment

Log in with itch.io to leave a comment.