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

 Share

  • Recently Browsing   0 members

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