killerderic Posted September 1, 2016 Share Posted September 1, 2016 Hi there ! I got some blurry simple sprite movement when moving and having a camera lerp. It's only when I use more than 60FPS ( 144 exactly ) ( set up with this.game.time.desiredFps = 144; ) So i tried to block at 60 FPS with this.game.time.desiredFps = 144; but I got some ghosting like effect. It's really easy to see it on this example : http://phaser.io/examples/v2/p2-physics/kill-and-revive Anyone got an idea to avoid the blur or the ghosting ? That would help me so much Link to comment Share on other sites More sharing options...
Cybercell Posted September 1, 2016 Share Posted September 1, 2016 1 hour ago, killerderic said: Hi there ! I got some blurry simple sprite movement when moving and having a camera lerp. It's only when I use more than 60FPS ( 144 exactly ) ( set up with this.game.time.desiredFps = 144; ) So i tried to block at 60 FPS with this.game.time.desiredFps = 144; but I got some ghosting like effect. It's really easy to see it on this example : http://phaser.io/examples/v2/p2-physics/kill-and-revive Anyone got an idea to avoid the blur or the ghosting ? That would help me so much Do you mean screen tearing? Example: If not then I cant seem to find anything wrong with the example. Link to comment Share on other sites More sharing options...
killerderic Posted September 2, 2016 Author Share Posted September 2, 2016 Hummm it's not about tearing, it's about seing the the sprite in both new and old position for a short moment. I can only see it on my 144Hz monitor and it's happen more often on chrome than edge. Maybe because edge seems to be limited to 72fps. Link to comment Share on other sites More sharing options...
Skeptron Posted September 9, 2016 Share Posted September 9, 2016 As mentionned in this GitHub topic, try with : game.renderer.renderSession.roundPixels = true source : https://github.com/photonstorm/phaser/issues/1377 Link to comment Share on other sites More sharing options...
Recommended Posts