Reworking the junkmap

This commit is contained in:
2014-06-12 21:58:51 -07:00
parent e2c394dc50
commit 0d60db11f5

View File

@@ -102,7 +102,7 @@ var moonlightSettings = {
'layers': { 'layers': {
'0 - NonCollide Base': { '0 - NonCollide Base': {
'collides': false, 'collides': false,
'collisionBetwen': [0, 0] 'collisionBetween': [0, 0]
}, },
'0 - Collide Base': { '0 - Collide Base': {
'collides': true, 'collides': true,
@@ -785,7 +785,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']) {
lp = moonlightSettings['map']['layers']['lp']; lp = moonlightSettings['map']['layers'][ln];
layer = map.createLayer(ln); layer = map.createLayer(ln);
map.setCollisionbetween( map.setCollisionbetween(
lp['collisionBetween'][0], lp['collisionBetween'][0],