Need help with a 3 ship game
kib647
Member Posts: 9
in Help Wanted
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
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