ArcadePhysics.updateMotion applies the dt to the velocity calculations as well as position now (thanks jcs)

This commit is contained in:
photonstorm
2013-11-05 16:14:24 +00:00
parent fa8533f5d1
commit 1eca16a948
9 changed files with 662 additions and 208 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ function update() {
ufo.angle = -15;
leftBtn.alpha = 0.6;
}
else if (game.input.keyboard.isDown(Phaser.Keyboard.RIGHT)
else if (game.input.keyboard.isDown(Phaser.Keyboard.RIGHT))
{
ufo.x += speed;
ufo.angle = 15;