Removing an actor

NaweeNawee Member Posts: 7
edited November -1 in Working with GS (Mac)
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

Comments

  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    Hi Jack

    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

  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    gyroscope said:
    Until another member knows how to solve that for you...

    Stickler for details, me: I meant: Until another member let's you know how to solve that for you...

    ;-)

    ---------------------------------------------------------------
    Spiral Gyro Games

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

Sign In or Register to comment.