Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Pomchee2

Pages: 1
1
Ask a Question / How to check if player is dead
« on: December 26, 2012, 06:08:02 am »
Hey, I'm new to Stencyl and I'm making my first real game. However, I've encountered a small problem. I am making a game in which you have to dodge obstacles that gradually move and spawn faster and faster at you. If you hit an obstacle then you restart and go to the menu but when you go back to the menu and click play again then the speed and spawn rate stay the same. I want to check in my spawning behaviour if the player is dead so it can set the speed and spawn rate game attributes back to 0 but I can't quite figure out how to check if the player is dead. I'm presuming this is very simple but my knowledge in Stencyl is very limited and I can't quite figure it out. If someone could please tell me how to check if the player is dead it would be of great use to me.

Pages: 1