How do add lives?

cobras61cobras61 Member Posts: 41
edited December 2011 in Working with GS (Mac)
How do i make when the object gets a wrong item it destroys the object and takes out 1 life out of 3?

Comments

  • cobras61cobras61 Member Posts: 41
    how will i show lives in text?
  • cobras61cobras61 Member Posts: 41
    Got it now how do i make the actor destroy after 3 lives?
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    edited December 2011
    display text: game lives attribute

    or you can have a heart image or whatever and use replicate, then tie the amount of copys to the game lives attribute

    and have a rule when attribute lives is equal to or less then 0 destroy
  • cobras61cobras61 Member Posts: 41
    What do I insert it the Icon representing lives? Are icons 3 separate things?
  • cobras61cobras61 Member Posts: 41
    I played with it a little and i found how to do it! Gamesalad is easy to use!
  • rajit.garg11rajit.garg11 Member Posts: 11
    To show lives in text, do display text and for what to display put in the attribute for lives. To make the actor destroy after lives are over, in the actor you want to destroy, put "if lives = 0 destroy actor". Hope this helps everybody who sees this!
  • bjandthekatzbjandthekatz Orlando, FlMember Posts: 1,375
    @rajit.garg11 why are you reopening a 2 year old thread?
  • UtopianGamesUtopianGames Member Posts: 5,692
    We have a free templates with lives and packed full of notes that might help.



    http://www.deepblueapps.com/xmas-space-invaders/

    Darren.
Sign In or Register to comment.