Animations

0 favourites
  • 15 posts
From the Asset Store
4 Block Soldiers with different animations, 400x400
  • Would someone please explain to me how to insert animations? I am talking about simple things like an animation of a character walking right when the right arrow key is pressed (with 8 directional movement).

    Thanks,

    Jason

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm new to C2,but not very new with "click" tools and I have the same question.

    Also the help function don't work in C2.

    Thanks,

    vidi

  • Hi

    Insert new sprite. Notice Animation Frames window below main Edit Image window. Right Click and either Import/Add frame(s) or import sprite strip.

  • <<<I am talking about simple things like an animation of a character walking right when the right arrow key is pressed (with 8 directional movement).<<<<

    What I mean is, how I make the animation "looped" when when the right arrow key is pressed

  • Oops Sorry ! I now found the animation properties box on the left side ;)

    But a working help function would be great.

  • We're working on something for the help section soon! Just not enough time to have it all done already, sorry!

  • Thank your for the info!

    Of course ... I understand you, but for me as a new user, it is hard to explore your app terms without help.

    Actually, I use an another "non code" game creator, but I've bought because of HTML5 export.

    Well, I'll be back when C2 help system is more advanced. :)

    Also, I do missing a bounce movement or I have no idea, how doing it.

  • "I am talking about simple things like an animation of a character walking right when the right arrow key is pressed (with 8 directional movement)."

    I tried this simple thing to make since yesterday.

    When the arrow keys are pressed, play animation xyz ... else stop animation. I have so many variation tried. Also e.g. with group activation, variables ect. and now I give up.

    I'm Sorry, I need help again <img src="smileys/smiley29.gif" border="0" align="middle" />

    How is the simply solution for that ?

  • Usually events like this are enough to get animations working:

    + On left arrow pressed

    -> Set animation to "Walking"

    + On left arrow released

    -> Set animation to "Stopped"

    And same for right, up and down arrows. That usually will do for the 8 direction movement.

  • Ah I see, it is wrong with the animation stop action.

    Thank you Ashley! <img src="smileys/smiley1.gif" border="0" align="middle" />

  • I'm also having trouble with this. Thought It was simple but Doesn't seem to be working for me. Thought I'd try and get a walk anim going before I got it to move.

    Got sprite anim 'Run' with frames 0 - 9 at speed of 12 on loop with 0 repeat count.

    Event sheet says 'keyboard - right arrow is down - set anim to "run" (play from beginning)

    this wouldn't work so added Start animation from beginning

    also have keyboard on right arrow released - stop animation.

    Any IdeaS?

  • This is a quick (and dirty) test, that worked for me:

    <img src="http://dl.dropbox.com/u/34306693/anim.png" border="0" />

  • Thank you so much for this.

    I had thought this to be the case, but I still can't get my animation working. :( I'm so confused it must be something elsewhere but it's not clear.

  • Cancel that, it's started working! horay :) Seems to be inconsistancies with these games working on my browsers. they work then they don't. or they work on preview but not after exporting.

    So why do you set the animation speed on the system rather than in the animation options? I have anims at different frame rates and doing it this way you have shown me plays them all at different speeds.

  • Sorry to keep clogging up the space. What is happening also is that after walking forwards once, I can't do anything again, as if Right Arrow down only works once -s

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