How to make animate before game over?

WeiyuWeiyu Member Posts: 216
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.Member Posts: 12,822

    Do animate 'blow up'

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

  • WeiyuWeiyu Member Posts: 216

    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.Member Posts: 12,822
    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.Member Posts: 12,822

    Example attached:

  • WeiyuWeiyu Member Posts: 216

    @Socks said:
    Example attached:

    appreciate :D

Sign In or Register to comment.