How do I stop my character's jittering? (lerp camera)

0 favourites
  • 6 posts
From the Asset Store
2d warrior machrom platformer game character assets
  • I use a lerp camera that smoothly follows the player, and I think this is the cause. Whenever I stop moving while the camera is still moving, my player jitters for a bit until the camera stops moving. Does anyone know how to fix this?

    Thanks!!!

  • Was jittering occur on camera or character? You can use distance comparison (or value) whether character and camera are close enough to turn off lerp on camera and vice-versa.

  • Was jittering occur on camera or character? You can use distance comparison (or value) whether character and camera are close enough to turn off lerp on camera and vice-versa.

    The character was the one that was jittering. I think it may be because I turned off pixel rounding, but I don't want to disable it.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • > Was jittering occur on camera or character? You can use distance comparison (or value) whether character and camera are close enough to turn off lerp on camera and vice-versa.

    >

    The character was the one that was jittering. I think it may be because I turned off pixel rounding, but I don't want to enable it again.

  • What is your window size? If you're using a really small sprite with a small window, the character movement from pixel-to-pixel is much more noticeable, and can sometimes create a stuttering effect

  • What is your window size? If you're using a really small sprite with a small window, the character movement from pixel-to-pixel is much more noticeable, and can sometimes create a stuttering effect

    Sorry I didn't notice you responded. It is 640, 360. And the sprite is 40, 40.

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