diff --git a/src/gameobjects/tilemap/dynamiclayer/DynamicTilemapLayer.js b/src/gameobjects/tilemap/dynamiclayer/DynamicTilemapLayer.js index c3e2dea47..12a351188 100644 --- a/src/gameobjects/tilemap/dynamiclayer/DynamicTilemapLayer.js +++ b/src/gameobjects/tilemap/dynamiclayer/DynamicTilemapLayer.js @@ -89,6 +89,7 @@ var DynamicTilemapLayer = new Class({ */ this.culledTiles = []; + this.setAlpha(this.layer.alpha); this.setTexture(tileset.image.key); this.setPosition(x, y); this.setSizeToFrame(); diff --git a/src/gameobjects/tilemap/staticlayer/StaticTilemapLayer.js b/src/gameobjects/tilemap/staticlayer/StaticTilemapLayer.js index 917c103fd..442e67c37 100644 --- a/src/gameobjects/tilemap/staticlayer/StaticTilemapLayer.js +++ b/src/gameobjects/tilemap/staticlayer/StaticTilemapLayer.js @@ -98,6 +98,7 @@ var StaticTilemapLayer = new Class({ this.dirty = true; this.vertexCount = 0; + this.setAlpha(this.layer.alpha); this.setTexture(tileset.image.key); this.setPosition(x, y); this.setSizeToFrame();