Jump to content

text fixed to camera jitters when following sprite?


paperElectron
 Share

Recommended Posts

Text fixed to camera, with the camera following the sprite, the text shifts 2-3 pixels in whatever direction the sprite is moving.

 

Its hard to load external images to a canvas, so I left the player sprite blank, it should show up as a green rectangle and function without the image. The background is also blank, but if you move around with the arrow keys you will see the text at the top start shifting around.

 

Any Ideas?

http://jsfiddle.net/paperelectron/qVH4u/8/

Link to comment
Share on other sites

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...