Sprite jitters if camera moves with it

Recommended Posts


I'm developing a simple 2D platformer with low res pixel art (canvas of size 144x81 pixels), and I noticed that when I move the sprite horizontally but enough to make the camera follow it, there's some jittering ocurring with the sprite.

Here's the link (just pass the "main screen" clicking on START):


Could a kind soul give some assistance? I pay with internets.

Thanks a lot!

Share this post

Link to post
Share on other sites

Hi guys,

I've had help on this issue, and it's corrected now.

Basically, what needed to be done was:

this.game.renderer.renderSession.roundPixels = false;
this.game.camera.roundPx = false;

And, in the Phaser.Game constructor:

antialias: false



Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.