And Tilemaps are rendering again - and much better than ever before :) Just one final optimisation pass to do and then it's on to collision.

This commit is contained in:
photonstorm
2013-10-11 18:18:27 +01:00
parent cf414394c3
commit 0201baef11
10 changed files with 304 additions and 145 deletions
+2 -2
View File
@@ -371,7 +371,7 @@ Phaser.Loader.prototype = {
break;
// An xml string or object has been given
case Phaser.Tilemap.JSON:
case Phaser.Tilemap.TILED_JSON:
if (typeof mapData === 'string')
{
@@ -710,7 +710,7 @@ Phaser.Loader.prototype = {
this._xhr.open("GET", this.baseURL + file.url, true);
this._xhr.responseType = "text";
if (file.format == Phaser.Tilemap.JSON)
if (file.format == Phaser.Tilemap.TILED_JSON)
{
this._xhr.onload = function () {
return _this.jsonLoadComplete(file.key);