How do I make a win/lose condition?
Cabaco
Member Posts: 414
i.e. I am making a runner type of game that when you get hit you lose and get to a certain scene.
How do I do this?
How do I do this?
Comments
when touch is press then go to next level( set this up in the lose screen actor)
Calvin
set up an integer attribute. call it lives. and make the number how ever many lives you need. and put, when actor overlaps or collides with (the enemy) lives minus one. and then put when attribute(the integer attribute) lives =0 change scene to whatever scene you want.
thanks
DL
whats the best way to restart the level after the user get you ost mwssage