mirror of
https://github.com/wassname/phaser.git
synced 2026-08-01 12:50:06 +08:00
Fixed issue with physics world not being centered if you resized it.
This commit is contained in:
+2
-2
@@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user