Game Over Woes
![svn](http://forums.gamesalad.com/applications/dashboard/design/images/defaulticon.png)
I created an attribute for my Player 1 actor called self.lives(you can guess what it means), and I created a rule that when the player hits an invisible barrier, he/she loses a life and the scene resets,(the rule being: Attribute Self.Lives=Self.Lives-1 when Player 1 collides with Barrier) . Now, I'm trying to create a rule that when the player loses three lives, he/she will get a Game Over screen. But I don't know how to create that rule. Can anyone help me?
Comments
Then create this rule
when attribute 'self.lives' is =or<than 0 then
Change attribute 'game.display-gameover' to true
------Otherwise---------
change attribute 'game.display-gameover' to false
Hope I helped
-Josh
-Josh