diff --git a/railroad.studio/AuroraFallsTopo.png b/railroad.studio/AuroraFallsTopo.png index 988aa1e..9a674b8 100644 Binary files a/railroad.studio/AuroraFallsTopo.png and b/railroad.studio/AuroraFallsTopo.png differ diff --git a/railroad.studio/LakeValleyMap2.png b/railroad.studio/LakeValleyMap2.png deleted file mode 100644 index ec8a174..0000000 Binary files a/railroad.studio/LakeValleyMap2.png and /dev/null differ diff --git a/railroad.studio/LakeValleyTopo.png b/railroad.studio/LakeValleyTopo.png index e62b3a8..4aaedf3 100644 Binary files a/railroad.studio/LakeValleyTopo.png and b/railroad.studio/LakeValleyTopo.png differ diff --git a/railroad.studio/MesaPlainsTopo.png b/railroad.studio/MesaPlainsTopo.png new file mode 100644 index 0000000..d43c497 Binary files /dev/null and b/railroad.studio/MesaPlainsTopo.png differ diff --git a/railroad.studio/PineValleyTopo.png b/railroad.studio/PineValleyTopo.png index 576c188..2684f91 100644 Binary files a/railroad.studio/PineValleyTopo.png and b/railroad.studio/PineValleyTopo.png differ diff --git a/railroad.studio/RRO_Pine_Valley_topo_map.png b/railroad.studio/RRO_Pine_Valley_topo_map.png deleted file mode 100644 index 01c2f9a..0000000 Binary files a/railroad.studio/RRO_Pine_Valley_topo_map.png and /dev/null differ diff --git a/railroad.studio/lakeValleyCont.png b/railroad.studio/lakeValleyCont.png deleted file mode 100644 index c57293d..0000000 Binary files a/railroad.studio/lakeValleyCont.png and /dev/null differ diff --git a/ts/RailroadMap.ts b/ts/RailroadMap.ts index 169f4dd..d1ca90a 100644 --- a/ts/RailroadMap.ts +++ b/ts/RailroadMap.ts @@ -744,17 +744,18 @@ export class RailroadMap { private renderBackground(): Element { let image; let transform; - if (this.railroad.settings.gameLevelName === 'LakeValley') { - image = 'LakeValleyTopo.png'; - transform = 'matrix(-93.16,0,0,-93.16,197453,197453)'; - // image = 'LakeValleyMap2.png'; - // transform = 'matrix(-200,0,0,-200,200000,200000)'; + if (this.railroad.settings.gameLevelName === 'MesaPlains') { + image = 'MesaPlainsTopo.png'; + transform = 'matrix(140.9,0,0,140.9,-300899.5,-300459.5)'; } else if (this.railroad.settings.gameLevelName === 'AuroraFalls') { image = 'AuroraFallsTopo.png'; - transform = 'matrix(-139.13,0,0,-139.13,300900,300900)'; + transform = 'matrix(140.9,0,0,140.9,-300899.5,-300459.5)'; + } else if (this.railroad.settings.gameLevelName === 'LakeValley') { + image = 'LakeValleyTopo.png'; + transform = 'matrix(92.5,0,0,92.5,-197454,-197454)'; } else { image = 'PineValleyTopo.png'; - transform = 'matrix(-96.80,0,0,-96.80,199951,199951)'; + transform = 'matrix(93.81,0,0,93.81,-199953,-199953)'; } return this.layers.background .image(image) @@ -765,21 +766,27 @@ export class RailroadMap { // Border if (this.railroad.settings.gameLevelName === 'LakeValley') { return this.layers.border - .rect(4_000_00, 4_000_00) - .translate(-2_000_00, -2_000_00) - .radius(100_00) + .rect(3_949_00, 3_949_00) + .translate(-1_974_54, -1_974_54) + .radius(0) .addClass('map-border'); } else if (this.railroad.settings.gameLevelName === 'AuroraFalls') { return this.layers.border - .rect(6_000_00, 6_000_00) - .translate(-3_000_00, -3_000_00) - .radius(100_00) + .rect(6_018_59, 6_009_59) + .translate(-3_009_60, -3_005_20) + .radius(0) + .addClass('map-border'); + } else if (this.railroad.settings.gameLevelName === 'MesaPlains') { + return this.layers.border + .rect(6_018_59, 6_009_59) + .translate(-3_009_60, -3_005_20) + .radius(0) .addClass('map-border'); } else { return this.layers.border .rect(4_000_00, 4_000_00) .translate(-2_000_00, -2_000_00) - .radius(100_00) + .radius(0) .addClass('map-border'); } }