I have a game that uses AWSD and the arrow keys for movement (8 directonal behaviour).
When Health <= 0 the end game layout loads, which is a full screen animation.
All works fine, except if a player is pressing one of the keys as he 'dies' the animation skips before it's played through.
Things i've tried; Disabling controller at end of game and start of end game layout.
Creating a variable (Can_move) assigning controls to Can_move=1 then disabling controls for Can_move=0 and adding this variable change at the end of the game screen and the start of the animation start.
Can't get it to ignore the controls when my game ends????
Can anyone advise please?
Thanks.