animate then switch to still image

app-etiteapp-etite Member Posts: 139
edited November -1 in Working with GS (Mac)
Hi guys

I have a dog running and when he hits something I just want a still image to replace the animation.

At the moment I have when dog collides with object then change image.. but it just flicks the image and the animation keeps playing.. Ive tried it with a timer to display for 5 seconds, doesn't work.

Dont know how to do it without destroying and spawning

cheers

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    make a attirubte callled animateoff and set it to 0

    make a rule when the dog collides with the object, change attribute animateoff to 1

    put the animation behavior in a rule when attribute animateoff=0

    then make one more rule in the dog when attribute animateoff=1
    change attribute self image to yourimagename.png

    cheers
  • app-etiteapp-etite Member Posts: 139
    John to save the day again :)

    Thanks!!!
Sign In or Register to comment.