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:
Richard Davey
2013-09-06 15:00:05 +01:00
parent 0c97e8e151
commit 822a2df289
9 changed files with 1003 additions and 344 deletions
+3 -1
View File
@@ -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;