From 359521ee80ab8665efd7aa2101fd3259c9897247 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 3 Dec 2023 15:12:50 +0100 Subject: Update map art to 2.0. --- data.js | 3 ++- map2_150.jpg | Bin 0 -> 1277868 bytes map2_150.png | Bin 0 -> 10775077 bytes map2_75.jpg | Bin 0 -> 728720 bytes map2_75.png | Bin 0 -> 3310032 bytes play.css | 20 ++++++++++---------- 6 files changed, 12 insertions(+), 11 deletions(-) create mode 100644 map2_150.jpg create mode 100644 map2_150.png create mode 100644 map2_75.jpg create mode 100644 map2_75.png diff --git a/data.js b/data.js index c2e8569..143618f 100644 --- a/data.js +++ b/data.js @@ -36,6 +36,7 @@ const EDGES = {} function init_data() { function space(name, type, value, axis, major, minor, wrap, x, y) { + x += 22 // 2nd edition map offset major = (1 - major) / 2 minor = (1 - minor) / 2 SPACES.push({name, type, value, exits: [], layout: { axis, major, minor, wrap, x, y }}) @@ -67,7 +68,7 @@ function init_data() { space("Corduba", "city", 0, "X", 0, 0, 3, 317, 837) space("Creta", "major-port", 0, "X", 0, 0, 3, 1794, 842) space("Cyrene", "port", 0, "X", 0, 1, 3, 1584, 1044) - space("Damascus", "city", 0, "X", -1, 0, 3, 2415, 870) + space("Damascus", "city", 0, "X", 0, 0, 3, 2415, 870) space("Dyrrachium", "port", 0, "Y", -1, 0, 3, 1522, 472) space("Emerita", "city", 0, "Y", -1, 0, 3, 200, 765) space("Ephesus", "major-port", 1, "X", 1, 0, 4, 1905, 635) diff --git a/map2_150.jpg b/map2_150.jpg new file mode 100644 index 0000000..4faa03b Binary files /dev/null and b/map2_150.jpg differ diff --git a/map2_150.png b/map2_150.png new file mode 100644 index 0000000..2d5e68b Binary files /dev/null and b/map2_150.png differ diff --git a/map2_75.jpg b/map2_75.jpg new file mode 100644 index 0000000..bbf8d81 Binary files /dev/null and b/map2_75.jpg differ diff --git a/map2_75.png b/map2_75.png new file mode 100644 index 0000000..45439af Binary files /dev/null and b/map2_75.png differ diff --git a/play.css b/play.css index be5eb77..54567e4 100644 --- a/play.css +++ b/play.css @@ -131,34 +131,34 @@ header.your_turn { background-color: orange; } /* MAP WITH BLOCKS AND SPACES */ #mapwrap { - width: 2475px; + width: 2550px; height: 1275px; } #map { - width: 2475px; + width: 2550px; height: 1275px; background-size: cover; } -#map { background-image: url("map75.jpg") } +#map { background-image: url("map2_75.jpg") } @media (min-resolution: 97dpi) { - #map { background-image: url("map150.jpg") } + #map { background-image: url("map2_150.jpg") } } #turn { position: absolute; width: 75px; height: 75px; - left: 51px; + left: 56px; border-radius: 12px; border: 3px solid white; } -#turn.year_705 { top: 384px; } -#turn.year_706 { top: 301px; } -#turn.year_707 { top: 218px; } -#turn.year_708 { top: 135px; } -#turn.year_709 { top: 51px; } +#turn.year_705 { top: 391px; } +#turn.year_706 { top: 308px; } +#turn.year_707 { top: 225px; } +#turn.year_708 { top: 142px; } +#turn.year_709 { top: 58px; } .space { position: absolute; -- cgit v1.2.3