Promoted the Tilemap to a DisplayObject and vastly simplified the load process.

This commit is contained in:
Richard Davey
2013-09-12 04:24:01 +01:00
parent 3d22d0e169
commit dbaf7269e9
10 changed files with 541 additions and 397 deletions
+4 -1
View File
@@ -129,7 +129,10 @@ Phaser.TilemapRenderer.prototype = {
}
// Only needed if running in WebGL, otherwise this array will never get cleared down I don't think!
PIXI.texturesToUpdate.push(layer.baseTexture);
if (this.game.renderType == Phaser.WEBGL)
{
PIXI.texturesToUpdate.push(layer.baseTexture);
}
}