How to change animation? [SOLVED]

BasGoodboyBasGoodboy Member, PRO Posts: 310
edited June 2014 in Working with GS (Mac)

Hey all,

I noticed that it isn't possible on a simple way to have an actor with an animation change animation.

Of course I know other ways to fix this (destroying old actor with animation and spawn new one with other animation on old one) to fix this but isn't there an easier method to change animation?

Example:

Dragon image of a dragon which blinks eyes now and then

I want to change animation/image when hero character is close to dragon who pulls his hand towards hero.

Best regards,

Bas Goodboy

Goodboi Gamestudios | Monster Jumper now on the App Store

Comments

  • joshiwujoshiwu Member Posts: 207

    You need to make an Int attribute to keep track the animation state of you're character . And if you want to stop the animation, I usually go for a simple "idle" animation .

  • UtopianGamesUtopianGames Member Posts: 5,692

    We have a free template called animation controller but due to forum rules i cant post a link so use the search box over at DBA if you want to check it out.

    Darren.

  • BasGoodboyBasGoodboy Member, PRO Posts: 310

    Thanks guys!

    Goodboi Gamestudios | Monster Jumper now on the App Store

Sign In or Register to comment.