How do i create hit-stop (when the screen freezes for a second as the players is hit)?
Hi, you could use the āchange layer time scaleā- action, as condition you take the collision. In connection with a timer you can get back to the normal time scale.
Perfect, Thank you Drona!
Another solution is to use a timer. For example, you can put all your player controls events under a boolean variable check. Letās call it āhitā. If hit is false then everything works normally, but if hit is true then the control events donāt execute, so you canāt move the character while hit is true. Everytime the character receive damage is necessary to set hit to true and kickstart a timer. After one second of that timer (or the time you decide) make hit return to false, so the player automatically will regain control over the character.
Even you can use the blink extension to make your character blink during the āhit timeā.
I think the problem with using timescale to freeze your character is (depending on the actions youāre using to move other things in the scene) many things in the same layer will also freeze.