GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Need help with a 3 ship game

kib647kib647 Posts: 9Member

I'm looking to instructions on how to make my game have two space ships across the top of the screen and when one dies, one is taken away and when all three chances are through the game goes to a Game Over Scene.
Thanks for any help!
Kib

Comments

  • tatiangtatiang Posts: 11,907Member, Sous Chef, PRO, Senior Sous-Chef

    Create an integer attribute called game.shipCount.

    In the space ship actor, add a behavior at the top that changes game.shipCount to game.shipCount+1. Then have a rule that says When [collides with bullet, or however you intend to get rid of a ship] change attribute game.shipCount to game.shipCount-1.

    Add a rule to a separate actor that says When attribute game.shipCount ≤ 0 change scene.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

Sign In or Register to comment.