Hi All,
I am grappling with a rather unusual issue. I am working on the game over screen for my game. The logic is to change scale time to 0 as soon as the player hits an obstacle. Below is the sequence of events.
1. State 1: Check for trigger event.
2. State 2: If there is a trigger event, then show the game over screen.
3. State 3: Change the scale time to 0. This is to stop all the movement.
Now, when I play the game(on mobile particularly), when the player hits an obstacle, then the movement of the obstacles and the player stops first and after some time, the game over screen is shown.
This looks on odd as I can see that everything becomes static and after sometime the game over screen is shown. Rather, I want to show the game over screen as soon as the player hits something and do all other things/calculations in the background. Has anyone faced this issue. Am I doing something incorrectly? Can this be done in a better way?
Regards,
Siloni