playing animation then destroying an enemy?

adam_b_ukadam_b_uk Member Posts: 50
edited November -1 in Working with GS (Mac)
hey guys, i just started using game salad a couple of hours ago and im a bit stuck with this :(

im trying to get it so the enemy ship coming towards you stops, plays an explosion animation/sound then disappears when its hit by a laser.

in testing, i shoot the enemy and the explosion sound plays, but the enemy keeps moving, the animation doesnt play and it isnt destroyed.

i have a rule where if the laser colides with the enemy it stops the enemy, plays the sound and animation then a timer so that it is destroyed after the animation.

isnt working though :(

just learning about this program at the minute so help would be much appreciated :)

Thanks guys!

Comments

  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    check out the Basic Shoot 'em up template that ships with gamesalad, it has the code to do exactly what you want, destroy ship, play explosion animation and play sound.
  • adam_b_ukadam_b_uk Member Posts: 50
    cool, ill do that, thats the tutorial im doing, i just cant find anything for it after making the player ship shoot lasers lol
  • AquariusAquarius Member Posts: 282
    use timers
Sign In or Register to comment.