Merge branch 'develop' into fix-issue-1835
This commit is contained in:
commit
20267d3483
4 changed files with 161 additions and 0 deletions
|
@ -85,6 +85,7 @@ export class GameMap {
|
|||
phaserMap
|
||||
.createLayer(layer.name, terrains, (layer.x || 0) * 32, (layer.y || 0) * 32)
|
||||
.setDepth(depth)
|
||||
.setScrollFactor(layer.parallaxx ?? 1, layer.parallaxy ?? 1)
|
||||
.setAlpha(layer.opacity)
|
||||
.setVisible(layer.visible)
|
||||
.setSize(layer.width, layer.height)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue