How do I change animation sprite for ever after hit an collision sprite?

0 favourites
  • 6 posts
From the Asset Store
Carousel Animation, make carousel of you image gallery or anything
  • Hello, i juste want to change my main character shape after he hits a special button.

    I cannot do this because it remain the same as beginning..

    please help :)

  • Do you have lots of animation events? If so then it is better to change a variable on collision with the sprite, then for your animation events use conditions if variable=0 or if variable=1 to set the first or second sprites.

    If it is very simple single animation used then you can say on collision with sprite set animation. This won't work if you have events calling the original animation so then go with the above idea with variables.

  • Thanks you :) it works !!!

  • but now my sprite wont do the animation and show only a picture, not the entire animation....

    i dont know why because all is set in sprite editor. i have 4 frames and the preview work well.

  • The issue with animation events is you need to make sure more than one is not true at a time or it will look it's frozen (probably what you are seeing). So if you set the new animation make sure the event to show the old animation is not true with the conditions.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • it works !!!!! again thank youuuuu <3333

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)