Animation Sprite switching all the time

0 favourites
  • 7 posts
From the Asset Store
An educational game for Times Table. An easy to use template for developers to build larger games
  • Hi, my name is Marcell and this is my first post here at this forum. I'm also from Brazil and is my first time working with Constructor, so my questions might be a little noob.

    I uploaded an video so you can understand better my problem.

    ---> youtube.com/watch

    I don't know what I did wrong, I was following the construct.net/en tutorial.

    Here are the screenshot of my animations and my events.

    Events ---> i.imgur.com/removed.png

    Sprite Animations ---> i.imgur.com/removed.png

    The animation Idle has only one frame, which is of the player doing nothing.

    I hope somebody here can help me. Thanks in advance!

  • Looks like your animation is larger than the PlayerBox, so the positioning is off. I bet if you make the PlayerBox visible, it will become self evident what the problem is.

  • Thanks! I will try solve this doing what you said.

    But my major problem is the animation switching alone. You see the player is moving his feet all the time. How I can stop that?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • almeidamarcell Your event sheet has a piece that says on ANY animation finished play walking. That means that when your one frame idle animation finishes that first frame, the walking animation starts to play again.

  • Thank you for helping me! I solved this problem.

    But I got another problem with the sprite animation. I made a new video, so maybe you can help me out.

    You can see I have two different enemys(in black) one is moving pretty fast, but his animation is just fine. The other one is a bit slower but his animation is kind stuck. I imagine when I reduce the max speed, acceleration and deceleration I have to make some calculation to also reduce the frame speed, but I don't know how. I tried many different combinations and the enemy still kind stuck.

    youtube.com/watch

    Edit: If you prefer, I uploaded the game here: almeidamarcell.com/indiegames/cesupa-game/index.html

    On this video I 'played' the game twice because I was also testing an collision problem. But I created an different thread for that! (http://www.scirra.com/forum/topic65756_post403436.html#403436)

    Here is an screenshot of how I setup my enemy animations. imgur.com/TkRelO4

    He is not black on the screenshot because I used blend to make his black on the game, the sprite is the same as the player.

    Thanks in advance again! <img src="smileys/smiley32.gif" border="0" align="middle" />

  • it would be easier to help if you would post the capx file to dropbox so we can take a look at it. It will go much more quickly than trying to figure it out based on video, etc...

  • That's true, I'm sorry about that. Here is the .capx file. Thank you for helping!

    dropbox.com/s/ghqu5a0fr1iao56/platatform-gam.capx

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