Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatalin Mititiuc <webdevcat@proton.me>2024-05-17 22:04:09 -0700
committerCatalin Mititiuc <webdevcat@proton.me>2024-05-17 22:04:09 -0700
commitf7606768b4390bd7dcc43cbeff93aecd24b37105 (patch)
treefca247ffa4bc75446f8b83ad1470410c370c682a /public/assets/images/map3.svg
parenta6f3e2f0e04b563815db79f4d1c4f1d3ce81f423 (diff)
Tree grove and map 4 building
Diffstat (limited to 'public/assets/images/map3.svg')
-rw-r--r--public/assets/images/map3.svg49
1 files changed, 47 insertions, 2 deletions
diff --git a/public/assets/images/map3.svg b/public/assets/images/map3.svg
index 171e2c9..e7055af 100644
--- a/public/assets/images/map3.svg
+++ b/public/assets/images/map3.svg
@@ -1,6 +1,6 @@
<?xml version="1.0" standalone="no"?>
<svg viewBox="-150 -150 600 800" xmlns="http://www.w3.org/2000/svg">
- <link xmlns="http://www.w3.org/1999/xhtml" rel="stylesheet" href="../css/map.css" type="text/css"/>
+ <link xmlns="http://www.w3.org/1999/xhtml" rel="stylesheet" href="http://localhost:8080/assets/css/map.css" type="text/css" />
<style>
#image-maps image {
transform: translate(-10px, 0px);
@@ -24,6 +24,48 @@
<image id="counter-prone" href="counter_prone.jpg" width="10"/>
<image id="counter-grenade" href="counter_grenade.jpg" width="10"/>
+
+ <g id="building8" class="building">
+ <polygon class="floor" points="
+ -95.625,-108.625 -47.625,-108.625 -38.625,-93.625 70,-93.625 78.4,-108.625 113,-108.625
+ 113,-89 89.625,-40 89.625,8.625 122.2,8.625 122.2,94 78.75,94 78.75,59.75 7.75,59.75
+ -17.25,108.75 -122.25,108.75 -122.25,9 -95.625,9
+ "/>
+ <path style="stroke-width: 2;" class="walls" d="
+ M -95.625 -108.625 h 48 l 9 15 h 108.5 l 8.5 -15 h 34.5
+ v 19.5 l -23.25 49 v 48.75 h 32.5 v 85.25
+ h -43.25 v -34.25 h -71 l -25 49 h -105
+ v -99.5 h 26.5 z
+ m 60 15 v 30.5 m 0 18 v 15.5 m 105.5 -64 v 30 m -14.75 -8.5 v 9 h -69 v -8
+ M -95.625 -29.5 h 185 m 0 38.25 h -185
+ m -26 31.75 h 60.5 m -60.5 35 h 60.5 m 0 33 v -99.75
+ m 69 0 v 50.75 m 0 -19.25 h -42.5 v 68 m 113.5 -40 v -28.75 h 43
+ "/>
+ <path style="stroke: white;" class="walls" d="
+ M -95.625 -108.625 h 48 l 9 15 h 108.5 l 8.5 -15 h 34.5
+ v 19.5 l -23.25 49 v 48.75 h 32.5 v 85.25
+ h -43.25 v -34.25 h -71 l -25 49 h -105
+ v -99.5 h 26.5 z
+ m 60 15 v 30.5 m 0 18 v 15.5 m 105.5 -64 v 30 m -14.75 -8.5 v 9 h -69 v -8
+ M -95.625 -29.5 h 185 m 0 38.25 h -185
+ m -26 31.75 h 60.5 m -60.5 35 h 60.5 m 0 33 v -99.75
+ m 69 0 v 50.75 m 0 -19.25 h -42.5 v 68 m 113.5 -40 v -28.75 h 43
+ "/>
+ <path class="windows" d="
+ M -78.25 -108.625 h 10 m 50 15 h 14 m 39 0 h 10 m 35 -15 h 10
+ m 23.1 4.5 v 10 m -23.2 81.5 v 10 m 12 11.2 h 16.5 m 4 19 v 10 m 0 24 v 10
+ m -21.25 22.25 h -17 m -19.5 -34.25 h -14.5 m -51 17.5 l -4.5 9
+ m -116.5 3 v -10 m 0 -24 v -10 m 0 -23 v -10 m 26.5 -14.5 v -10 m 0 -35 v -10 m 0 -20 v -10
+ "/>
+ <path class="door-edges" d="
+ M 89.6 -27.5 v 10 m 6.75 57 h 10 m -57.75 -30.75 h -16.5 m -24.25 36.25 v 10
+ m -42.5 20.75 v 10 m -26.5 1.75 v -10 m -24 -2 h -10 m 0 -35 h 10 m 100 -70 h 15.5
+ "/>
+ <path class="doors" d="
+ M 89.6 -25 v 5 m 9 59.5 h 5.5 m -57.75 -30.75 h -12 m -26.5 38.75 v 5.25
+ m -42.5 25.5 v 5 m -26.5 1.75 v -5 m -26 -4.5 h -6 m .25 -35 h 5.5 m 104.5 -70 h 11
+ "/>
+ </g>
</defs>
<rect id="background"/>
@@ -34,6 +76,9 @@
</g>
<g class="gameboard">
+ <g id="buildings">
+ <use x="263.125" y="188.625" href="#building8"/>
+ </g>
<g id="firing-arcs">
<g id="shapes"/>
<g id="lines"/>
@@ -88,5 +133,5 @@
</g>
<g class="grid"/>
</g>
- <script data-cols="33" data-rows="25"></script>
+ <script data-cols="33" data-rows="25" href="http://localhost:8080/map.js"/>
</svg>