Reworking the junkmap
This commit is contained in:
@@ -792,6 +792,7 @@ GameState.prototype.create = function()
|
|||||||
console.log("Preparing layer " + ln);
|
console.log("Preparing layer " + ln);
|
||||||
lp = moonlightSettings['map']['layers'][ln];
|
lp = moonlightSettings['map']['layers'][ln];
|
||||||
layer = map.createLayer(ln);
|
layer = map.createLayer(ln);
|
||||||
|
console.log("Setting collisions on " + ln);
|
||||||
map.setCollisionBetween(
|
map.setCollisionBetween(
|
||||||
lp['collisionBetween'][0],
|
lp['collisionBetween'][0],
|
||||||
lp['collisionBetween'][1],
|
lp['collisionBetween'][1],
|
||||||
|
|||||||
Reference in New Issue
Block a user