mirror of
https://github.com/wassname/phaser.git
synced 2026-09-09 11:28:47 +08:00
Lots of work on Group and also resolved the issue of the core game loop structure not being quite right.
This commit is contained in:
+3
-1
@@ -3,9 +3,10 @@ Phaser.World = function (game) {
|
||||
this.game = game;
|
||||
|
||||
this._stage = new PIXI.Stage(0x000000);
|
||||
this._stage.name = '_stage_root';
|
||||
|
||||
this._container = new PIXI.DisplayObjectContainer();
|
||||
this._container.name = '_stage_root';
|
||||
// this._container.name = '_stage_root';
|
||||
|
||||
this._stage.addChild(this._container);
|
||||
|
||||
@@ -52,6 +53,7 @@ Phaser.World.prototype = {
|
||||
|
||||
this.camera.update();
|
||||
|
||||
// TODO - sort this out, the nodes are wrong
|
||||
var displayObject = this._stage;
|
||||
|
||||
var testObject = displayObject.last._iNext;
|
||||
|
||||
Reference in New Issue
Block a user