|
Arcade
|
Just for fun, let's make things get tougher over time.
GameStage.cs, keep track of how long the player's survived with the _elapsedTime variable. Increment it with the Timestep property in OnUpdate.SpawnBullets coroutine, make the delay between shots get shorter over time:Bullet.cs, increase the max movement speed of created bullets as the elapsed time increases:_elapsedTime when creating new bullets in GameStage.cs: