The death make pass to the next level !

CLAYCLAY Member Posts: 72
edited November -1 in Working with GS (Mac)
Hey i'm new on game salad but it's really simple exept i want to make the Actor death and this death can make him pass to the next level.
example :
the player ''bob'' go and kill himself with a gun that's make an explosion with a lot of blood and juste after the explosion finish, like 1 sec after the animation of the explosion he goes to the next level

Comments

  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    on your actor Bob, in whatever rule you have to make him die, put some to change the scene.

    for example

    when actor overlaps or collides with actor of type gun
    destroy actor
    spawn actor bloodExplosion (you would need another actor for this)
    TIMER - after 1 second
    change scene 'level2'

    what happens above, is when your Bob actor touches a gun (or it could be when hitpoints hit 0, or anything else), his actor is destroyed when an exploding bob actor is spawned. The exploding actor run's through it's animation once, and after 1 second it automatically switches to the next scene.
  • CLAYCLAY Member Posts: 72
    MERCI BEAUCOUP !!!
Sign In or Register to comment.