One Animation spawning another? Can it be done?

JoeMeisterJoeMeister Member Posts: 602
edited November -1 in Working with GS (Mac)
I am throwing a coin into a fountain.
The Coin is an Animation.
After that Animation is finished I want
another Animation to start.
I tried timers but it looks wrong.
Can't use collide either.
Any ideas would be greatly appreciated.
Oh, to make things a bit more difficult.
I would like to spawn the second animation randomly.
These are different speech bubbles created in Photoshop so they are PNG images.

Comments

  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    I do stuff like this all the time. I'll drop a bomb, when it hits something I destroy the actor and spawn an explosion.

    the code is usually like this:

    when bomb hits building
    spawn explosion in front of actor
    after .1 seconds, destroy actor.
  • Rob2Rob2 Member Posts: 2,402
    A good way to perform a test with animation is with self.image

    so when self.image is frame25.png animation is over etc
  • JoeMeisterJoeMeister Member Posts: 602
    Duh...its early in the Morning. Thanks.
    But what about the random part.
    I would like to call on 10 different animated actors.
  • JoeMeisterJoeMeister Member Posts: 602
    Yeah that works. But I want a different explotion every time. (random).

    Duh...its early in the Morning. Thanks.
    But what about the random part.
    I would like to call on 10 different animated actors.
Sign In or Register to comment.