FierceLlama / BloodMyth

Sickle Cell Game
0 stars 0 forks source link

Implement a pause screen. #8

Open omarzohdi opened 7 years ago

omarzohdi commented 7 years ago

The skeleton to accept a pause screen exist, but an implementation for the actual screen that pauses the game is missing. Implement and test it.

omarzohdi commented 7 years ago

Just a note regarding the pausing in unity:

"By setting the timeScaling factor to 0, you basically pause your game, since everything time-based will be stopped. Effectively, it results in Time.deltaTime to be constantly 0, and FixedUpdate is not called anymore. (Update and LateUpdate will still be called). If you want to have animations during pause, you have two possibilities: Use an animator component with Update Mode: Unscaled Time. If the animations are done through code (like rotation, simple movement or fading) you can use Time.unscaledDeltaTime. Like the name says, this is the unscaled delta value, and thus the same as deltaTime for timeScale = 1."