kitty
❔ Code is completely skipping over an area
I'm writing a script for a game where if you don't press Spacebar within 4 seconds, the number of failures increase by 1, the sprite is changes, and the timer resets. This is supposed to happen twice if the button is missed, and if it happens a 3rd time, I want the GameOverScene to appear. What's happening is it directly goes to the GameOverScene when I miss the button and I'm unsure why it's missing the whole sprite change and reset timer aspect
6 replies