Reworking the junkmap

This commit is contained in:
2014-06-12 23:24:43 -07:00
parent e3311e99a1
commit d0d4fd9c0f

View File

@@ -816,8 +816,9 @@ GameState.prototype.create = function()
}
layer.resizeWorld();
} else if ( lp['type'] == "objects" ) {
console.log("this.map.createFromObjects(" + ln + ", "+ ln +", undefined, 0, true, false, undefined, Light)");
this.map.createFromObjects(ln, lp['gid'], undefined, 0, true, false, undefined, lp['class']);
ogrp = game.add.group();
console.log("this.map.createFromObjects(" + ln + ", "+ lp['gid'] +", null, 0, true, false, undefined, Light)");
this.map.createFromObjects(ln, lp['gid'], null, 0, true, false, ogrp, lp['class']);
}
}