Updated a lot of examples to Phaser 2.0 :)

This commit is contained in:
alvinsight
2014-02-28 18:22:52 +00:00
parent 8662cd2fd4
commit f17cdd9c32
24 changed files with 77 additions and 68 deletions
+1 -3
View File
@@ -33,9 +33,7 @@ function createBall() {
var ball = game.add.sprite(game.world.randomX, 0, 'ball');
ball.body.gravity.y = 200;
ball.body.bounce.y = 0.5;
ball.body.collideWorldBounds = true;
ball.physicsEnabled = true;
}