Removed PixiPatch as it's no longer needed. Re-worked all of the Sprite autoCull and inWorld checks and cached the bounds. Fixed the Body calculations so physics is working again.

This commit is contained in:
photonstorm
2014-02-09 03:48:31 +00:00
parent e8b432f518
commit 4aa945f991
13 changed files with 104 additions and 378 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ function create() {
var bg = game.add.sprite(0, 0, bmd);
bg.body.moves = false;
game.enableStep();
// game.enableStep();
game.physics.gravity.y = 100;