Ways to display animation

devmattdevmatt Member Posts: 38

So there's a falling actor and catching actor. When the catching actor catches the falling actor, you earn a point. Game.Total Score to Game.Total Score+1. We want the catching actor to display an animation whenever it catches a falling actor. Rather than using overlapping and collision, can we make it so that the animation is displayed whenever a point is added to total score?

Comments

  • devmattdevmatt Member Posts: 38

    Please help.

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

    Ultimately you will have to use collision to trigger the new animation, even if you want it to be triggered by a point being added to the score . . you will first need some way to trigger a point being added to the score . . which will be the collision . . .

    But if you do want to do it that way . . . .

    In the animated actor.

    Change attribute A to game.score

    Rule: If A is less than game.score the run the animation.

Sign In or Register to comment.