Physics World events added.

Group has new 'addToWorld' parameter, which fulfills the same function as the old useStage.
Stage now extends PIXI.Stage rather than owns one.
This commit is contained in:
photonstorm
2014-02-12 19:45:09 +00:00
parent 424d1126bc
commit f6113ac6c4
10 changed files with 401 additions and 159 deletions
+1 -1
View File
@@ -388,7 +388,7 @@ Phaser.StageScaleMode.prototype = {
this.game.world.visible = true;
}
this.game.stage._stage.addChild(this.orientationSprite);
this.game.stage.addChild(this.orientationSprite);
}
},