HeapsIO / heaps

Heaps : Haxe Game Framework
http://heaps.io
MIT License
3.22k stars 340 forks source link

Round camera position on sync #1242

Closed xastor closed 3 weeks ago

xastor commented 3 weeks ago

I have a 2D game where the camera continually moves around, and the fact that the camera calculates its position without rounding to a sub-pixel position leads to stuttering of objects that calculate its position relative to the camera position. This change fixes the issue for me, but I also think it is good default behavior.