Jump to content

Camera jitters but setting roundPx to false separates tiles


Drew123
 Share

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:

Capture.PNG.cc6677c30ad83f63f1a55a944d832a73.PNG

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

 Share

  • Recently Browsing   0 members

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