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 ;)
Thank you! I have been working on the game for a month, and I am currently adding animations and other things that were not in the original game, so thanks for the comment!
Good game!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Member since 10 Dec, 2018