Reworking the junkmap
This commit is contained in:
@@ -159,13 +159,13 @@ var moonlightSettings = {
|
||||
'collides': true,
|
||||
'collisionBetween': [0, 9999],
|
||||
'type': 'tiles',
|
||||
'inject_sprites': false
|
||||
'inject_sprites': true
|
||||
},
|
||||
'0 - NonCollide Overlay - Ground Objects': {
|
||||
'collides': false,
|
||||
'collisionBetween': [0, 9999],
|
||||
'type': 'tiles',
|
||||
'inject_sprites': true
|
||||
'inject_sprites': false
|
||||
}
|
||||
},
|
||||
'path': 'gfx/map.json'
|
||||
@@ -917,7 +917,6 @@ GameState.prototype.updateShadowTexture = function() {
|
||||
// underneath it darker, while the white area is unaffected.
|
||||
|
||||
// Draw shadow
|
||||
//this.shadowSprite.bringToTop();
|
||||
this.shadowTexture.context.fillStyle = this.shadowTextureColor;
|
||||
this.shadowTexture.context.fillRect(0, 0, game.world.width, game.world.height);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user