How do I fix jumpy movement

0 favourites
  • 9 posts
From the Asset Store
Jump on the mole rats and see how far you can go!
  • I'm trying to make a simple tank/shooter game, but the movement of the sprites seems to periodically 'jump', when I run the layout in debug mode, the framerate is 35-40 FPS even when there are many objects on screen. I haven't found any other posts about this problem, so I don't know if it's just my PC, so please help.

    I've included the project file in a Dropbox link, the upload on the forum doesn't seem to work right now:

    https(colon)(Slash)www(dot)dropbox.com(slash)s(slash)26jzixujfz4b5gi(slash)C2Tank.capx

  • What do you mean by Jump, Can you upload a image for the problem.

    Because it's run fine on my pc.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • \Can you upload a image for the problem.

    >

    A single image won't show what I'm talking about.

    Say one of the sprites is moving to the right, periodically, the object will "teleport" slightly, but noticeably, further ahead, making movement look choppy.

  • You have to make sure every frame and every anchor point (the one used for positioning) are the same size and on the same position.

    If they are not, there will be jumpiness as you said in your last post.

  • You have to make sure every frame and every anchor point.

    This is not the problem, even non animated sprites appear jumpy

  • > You have to make sure every frame and every anchor point.

    >

    This is not the problem, even non animated sprites appear jumpy

    You're going to have to Crtl+F your events and find every event you've added to the sprite that is jumpy to see if anything could have caused it to act like that.

  • >

    > > You have to make sure every frame and every anchor point.

    > >

    > This is not the problem, even non animated sprites appear jumpy

    >

    You're going to have to Crtl+F your events and find every event you've added to the sprite that is jumpy to see if anything could have caused it to act like that.

    No events should cause the jumpyness. All of the sprite objects jump periodically, and one is controlled just by a bullet behavior whose speed is changed only once by the events, so if it were the cause, it would only jump once.

  • I understand what you saying.

    On my local preview mode I can notice jumpyness but on a published project It is much smoother.

    http://www.scofano.com.br/sandbox/teste/

    b = bullet

    nb = non bullet (move +1)

    cm = custom movement

    http://www.scofano.com.br/sandbox/move.capx

  • I understand what you saying.

    On my local preview mode I can notice jumpyness but on a published project It is much smoother.

    Thanks, if the finished product is smoother, then its fine.

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