mirror of
https://github.com/wassname/phaser.git
synced 2026-08-10 12:30:48 +08:00
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user