So I am busy making a small game, but there is one thing that I don't know.
So I am asking it here, how do I make that my variable 'lifes', if it reaches 0 resets the game? I tried a lot of things but none of them worked.
Thanks for your help
Offline
iEcoWarrioR wrote:
So I am busy making a small game, but there is one thing that I don't know.
So I am asking it here, how do I make that my variable 'lifes', if it reaches 0 resets the game? I tried a lot of things but none of them worked.
Thanks for your help
when gf clicked wait untill (lives )=(0) Stop all. endJust click the green flag to restart.
Last edited by fillergames (2012-12-20 05:58:51)
Offline
fillergames wrote:
iEcoWarrioR wrote:
So I am busy making a small game, but there is one thing that I don't know.
So I am asking it here, how do I make that my variable 'lifes', if it reaches 0 resets the game? I tried a lot of things but none of them worked.
Thanks for your helpwhen gf clicked wait untill (lives )=(0) Stop all. endJust click the green flag to restart.
thanks
Offline
iEcoWarrioR wrote:
fillergames wrote:
iEcoWarrioR wrote:
So I am busy making a small game, but there is one thing that I don't know.
So I am asking it here, how do I make that my variable 'lifes', if it reaches 0 resets the game? I tried a lot of things but none of them worked.
Thanks for your helpwhen gf clicked wait untill (lives )=(0) Stop all. endJust click the green flag to restart.thanks
Welcome.
Offline
or make a broadcast called green flag or whatever, then make it broadcast that when the gf is glicked, and duplicate every script that starts with when gf clicked, change the gf cliked to when i receive green flag, and make it so that when the lives reach zero it broadcast that again.
Offline