round coords on draw
@@ -106,8 +106,8 @@ class Renderer
106
106
this.sprite.draw(
107
107
this.gameObject.scene,
108
108
sx, sy, sw, sh,
109
this.gameObject.transform.position.x,
110
this.gameObject.transform.position.y,
109
Math.round(this.gameObject.transform.position.x),
110
Math.round(this.gameObject.transform.position.y),
111
111
this.gameObject.transform.size.x,
112
112
this.gameObject.transform.size.y,
113
113
this.gameObject.transform.rotation,
@@ -106,8 +106,8 @@ class Renderer106
this.sprite.draw(106
this.sprite.draw(107
this.gameObject.scene,107
this.gameObject.scene,108
sx, sy, sw, sh, 108
sx, sy, sw, sh, 109
this.gameObject.transform.position.x, 109
Math.round(this.gameObject.transform.position.x), 110
this.gameObject.transform.position.y, 110
Math.round(this.gameObject.transform.position.y), 111
this.gameObject.transform.size.x, 111
this.gameObject.transform.size.x, 112
this.gameObject.transform.size.y, 112
this.gameObject.transform.size.y, 113
this.gameObject.transform.rotation, 113
this.gameObject.transform.rotation,