Jump to content

Camera jitters but setting roundPx to false separates tiles


Recommended Posts

I have a tiled isometric RTS where the camera follows a character, but it jitters when the character moves diagonally across the screen. I've tried a few different things, like setting game.renderer.renderSession.roundPixels to false, but the only thing that works is setting game.camera.roundPx to false. The problem when I do this is that about half the time gaps appear between the background tiles like this:


Does anyone know how to either stop the jittering without any pixel rounding, or how to make it so that gaps don't appear between sprites when game.camera.roundPx is set to false?

Btw: camera.lerp.x/y is set to .01.



Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...