Reworking the junkmap
This commit is contained in:
@@ -789,6 +789,7 @@ GameState.prototype.create = function()
|
|||||||
this.map_collision_layers = [];
|
this.map_collision_layers = [];
|
||||||
|
|
||||||
for (var ln in moonlightSettings['map']['layers']) {
|
for (var ln in moonlightSettings['map']['layers']) {
|
||||||
|
console.log("Preparing layer " + ln);
|
||||||
lp = moonlightSettings['map']['layers'][ln];
|
lp = moonlightSettings['map']['layers'][ln];
|
||||||
layer = map.createLayer(ln);
|
layer = map.createLayer(ln);
|
||||||
map.setCollisionBetween(
|
map.setCollisionBetween(
|
||||||
|
|||||||
Reference in New Issue
Block a user