Calling different animations in a sprite

0 favourites
  • 5 posts
From the Asset Store
Adjusting the game screen for different resolutions (Letterbox scale)
  • Hi,

    I have imported 2 different sets of animations in a sprite. How do I call the different animations to start and stop playing in the event sheet? The default animation keeps playing and I haven't been able to find any tutorial on how to overcome this. Can anyone tell me how to do this step by step?

    Thanks! :)

  • Hey,

    If your sprite keeps playing, it is set to "Loop" - you can disable this in the animation setting bar to your left.

    If you want to start an animation in your game on a given time, do like this:

    [CONDITION] If something happens - [ACTION sprite] set animation to ""

    You can also set the animation to loop and then stop the animation when you want; then the event ^ will look like this:

    [CONDITION] If something happens - [ACTION sprite] set animation to ""

    [ACTION] Wait X seconds - Stop animation

    Its very simple but if this sounds advanced you should get another one to help you out better than me lol

    Sry for bad english.

  • Hi!

    Thanks for your reply. I can't find the looping that you mentioned to disable for the sprite. I will try your suggestion for the event sheet. I am using a free edition of Construct 2. Don't know it that will help much.. <img src="smileys/smiley24.gif" border="0" align="middle" />

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • When you double click on your sprite look to the left, and you will

    see animation speed and looping options.

    P.S. Also check out the manual it is very handy!

  • Hi!

    Thanks for the tip! I found the looping. :)

    I came across this link: scirra.com/manual/115/sprite

    but not sure how it can help me in this. Still looking through tutorials and forums though. Do you know of any good tutorials which I can refer to? :)

    Thank you!

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