Removing an actor
Nawee
Member Posts: 7
Hey guys,
I am making an iphone game and it involves having three lives however, i have the three lives displayed at the bottom of the screen and don't know how to get one to disappear every time the dude dies.
Thanks
Jack
I am making an iphone game and it involves having three lives however, i have the three lives displayed at the bottom of the screen and don't know how to get one to disappear every time the dude dies.
Thanks
Jack
Comments
In the Rules after your player dies, i.e is destroyed, I assumed that using a Change Attribute to set Visible to false of lives actor would have done the trick. But it doesn't for some reason. Until another member knows how to solve that for you (simply switching visible off), you could do the following and get the result you want: After the actor is destroyed, put a Change Attribute of the lives actor's Alpha, set to .01.
A temporary fix maybe but hope it helps for the while.
Note that this practically invisible actor would still be active for click or press, although I assume the graphic showing the lives haven't any Rules attached to them.
:-)
---------------------------------------------------------------
Spiral Gyro Games
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
;-)
---------------------------------------------------------------
Spiral Gyro Games
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps