GameSalad

Howdy, Stranger!

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

How to make animate before game over?

WeiyuWeiyu Posts: 215Member, PRO
edited June 2016 in Working with GS (Mac)

Hello everyone!

I have a idea, I want to make a animate before game over.

If Actor_A is a balloon, and it will blow up when it collides floor.
How to let balloon do animate before the end destroy?

-------My Conceive-------

When Actor_A collides Floor
Do Change Attribute game.Gameover is true

When Attribute game.Gameover is true
Do Change image.Balloon
Do Animate.blow up
Do Destroy


Comments

  • SocksSocks London, UK.Posts: 12,822Member

    Do animate 'blow up'

    Rule:
    --When self image = name of last frame of animation
    ----Destroy.

  • WeiyuWeiyu Posts: 215Member, PRO

    Thank you for your help :D ><"
    You have been a lifesaver!

    Sorry to interrupt but i have a question...
    How to stop all function (actor move) when animate in progress.

    I don't want to I can still move when animate in progress.
    I want to all function will stop include Accelerate( Direction 270 / Accelerate 700).

    If it is possible, I hope all scene can stop.

    Can you help me again :'(

  • SocksSocks London, UK.Posts: 12,822Member
    edited June 2016

    Actor_A

    Rule:
    --When Actor_A collides Floor
    ----Spawn Explosion actor
    ----Destroy

    . . . . . . . .

    Explosion_Actor

    Do Animate.blow up

    Rule:
    --When self image = name of last frame of animation
    ----Destroy.

  • SocksSocks London, UK.Posts: 12,822Member

    Example attached:

  • WeiyuWeiyu Posts: 215Member, PRO

    @Socks said:
    Example attached:

    appreciate :D

Sign In or Register to comment.