A recreation of sonic the hedgehog master system games. Created with Construct 2. ---------------------------------------------------------------.
What I did is that when I get hurt, the player input is disabled, the flashing is activated, the player gets a negative Vector X and Vector Y, so that the user cannot cancel the backward impulse.
Then what I do is that when the ground falls after the blow, the player input is activated again, and for several seconds the flashing is not deactivated.
Thanks for the support ;)
thanks!