Problems with lives

EddyAllenEddyAllen Member Posts: 23
edited November -1 in Working with GS (Mac)
ok so ive been trying to add lives to my game and so far its working i have the display you lose lives and everything but after all your lives are done you can still add objects my game is sorta like peggle so its quite frustrating to get this to work ive tried making the game switch sceane when you rlives are done but thats not the effect i want it want it to show the final score and allow you to have highscores how hard would this be

Comments

  • reddotincreddotinc Member Posts: 653
    Sounds like you need to set up a rule to have a "High Score Screen" spawn when lives = 0 or something like that.

    Then you could have a button to restart, next level, menu etc.

    Hope that helps :)

    // Red Dot Inc
  • EddyAllenEddyAllen Member Posts: 23
    see i have that already going but for my game i need it to be that you cant spawn a ball(actor) until the first one has been destroyed (what i meant to say before) also how hard is it to make a highscore screen that has your previous scores (or is this not possibal)
  • reddotincreddotinc Member Posts: 653
    For the can't spawn a ball actor until one has been destoryed.

    Have an attribute - canSpawn

    set this to 1 as default.

    When you spawn a ball, change the attribute to 0. When the ball is destroyed change this attribute back to 1.

    It is possible, have a look on the wiki http://gamesalad.com/wiki :)

    // Red Dot Inc
  • EddyAllenEddyAllen Member Posts: 23
    ive been looking through the wiki but cant find what im looking for could you explain a bi tmore in detail what you wrote for example should the canSpawn be an interger or other if there is a link to this please post as i havnt seen one
Sign In or Register to comment.