Dog Missile Barrage
Use WASD to move. Survive for 1 minute to win!
Lecture Content
3 of the functions used in the prototype:
- private void MovePlayer()
- Moves the player in a direction based on the inputs recorded in private void MyInput(). Movement is applied using force (rather than transform) and has drag while the player is grounded (jump doesn't work in this build though)
- private void ChasePlayer()
- Sets the destination for the enemy to move towards (via navmesh agent) and changes rotation of enemy to face the player
- public void PlayerCameraGetDirection()
- Gets the position of the cursor so those values can be used to change the position/rotation of the camera
Creative Content
Balance
- I had more enemies spawn gradually over time to have the difficulty ramp up as time went on
- Because the player can only move at one speed and has no defensive capabilities (currently), I made sure the player was able to outrun enemies (makes the game a bit dull, though)
Iteration
- A lot of time went into tweaking how the camera follows the player, the sensitivity of the camera movement, and the speed of the player
- Added a player model and animations controlled via blend tree
Communication Feedback
- Enemies were moving a bit slowly since their movement was controlled within an update function rather than fixed update
- (More of a note to self) Could speed up the enemy a lot more once parry is implemented
Status | Released |
Platforms | HTML5, Windows |
Author | papercdisc |
Made with | Unity |
Download
Download
Week2 - Copy.zip 16 MB
Leave a comment
Log in with itch.io to leave a comment.