Reseting actor speed!!! Please help

Hi there, I'm creating a game(similar to redbit escape) where every 2 seconds the actor(enemy) speed(integer attribute @150) increases by 5. This is only valid when the player presses their actor(hero), which turns game.Start to true, aka everything on the screen starts moving.

The way I've created it is:

Rule: when attribute game.Start is true, Timer: every 2 seconds change attribute game.Speed to game.Speed+5.

It works fine but I can't figure out how to reset the actor(enemy) speed back to 150 or the original game.Speed when the game is over. I've tried so many variations including Rule: when game.Start is false, change attribute game.Speed to 150.

Every time when I hit the try again button on my gameover screen, the next game starts with the already increased speed.

Please help! Thank you

Best Answers

Answers

Sign In or Register to comment.