Jump to content

anchor.setTo blurring Sprite


arcbox
 Share

Recommended Posts

Hello,

 

I am using pixel art and have noticed that everything stays crisp until I call anchor.setTo(0.5,0.5) to set the center of the sprite as the anchor.

 

The reason I am calling anchor.setTo is to flip my Sprite horizontally when I am walking backwards.

 

Does anyone know how to avoid blurring when calling this method? Alternatively, is there a different way to flip the image horizontally without calling that method?

 

I'm using version 1.2 of Phaser.

 

Thanks!

Link to comment
Share on other sites

  • 9 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

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