Fixed issue with physics world not being centered if you resized it.

This commit is contained in:
photonstorm
2014-02-14 17:52:59 +00:00
parent 1b5837d71d
commit 291f8ef14c
2 changed files with 8 additions and 3 deletions
+2 -2
View File
@@ -62,8 +62,8 @@ function update() {
function render() {
// game.debug.renderText('x: ' + box2.body.velocity.x, 32, 32);
// game.debug.renderText('y: ' + box2.body.velocity.y, 32, 64);
game.debug.renderText('x: ' + ship.body.x, 32, 32);
game.debug.renderText('y: ' + ship.body.y, 32, 64);
}