Actor will only perform the rule on the first preview?

I am making a basic endless runner game as a first project and have run into a problem. I have set up a rule so that my actor will jump up when i press space (change linear motion Y). When i try to test the game the player does not jump and just continues to move along the platform until it falls off the edge. I noticed that if i save the game, close out of GS, and then re-open my game the actor will actually jump and preform how i wanted it to but only one time. After closing the preview and trying to preview it again the actor does not move when i press space. I have tried remaking the rule multiple times and also re-doing the "change attribute" feature but nothing seems to work. Any ideas on why the rule would only work one time? thanks!

Answers

  • CabbageheadCabbagehead Member Posts: 10

    Sometimes you have to click on the game screen to select it. I think it's a problem with all flash games, that if you click on the side or something, you can't use keys to interact with it.

  • DelaneyCDelaneyC Member Posts: 4

    Thank you! this fixed the problem perfectly.

Sign In or Register to comment.