add nations
This commit is contained in:
parent
f956972c6d
commit
b0354fd1fb
2 changed files with 72 additions and 5 deletions
10
docs/map.js
10
docs/map.js
|
@ -1,9 +1,9 @@
|
|||
const mapWidth = 16000;
|
||||
const mapHeight = 16000;
|
||||
const mapWidth = 14000;
|
||||
const mapHeight = 14000;
|
||||
|
||||
let assets = [
|
||||
'../thingie.png',
|
||||
'../thingie.png' // i swear this is temporary
|
||||
'../thingie.svg' // i swear this is temporary
|
||||
]
|
||||
|
||||
let imgA = [];
|
||||
|
@ -106,8 +106,8 @@ function move() {
|
|||
ctx.clearRect(0, 0, map.width, map.height);
|
||||
|
||||
for (let img of imgA) {
|
||||
let w = img.width * zoom;
|
||||
let h = img.height * zoom;
|
||||
let w = imgA[0].width * zoom;
|
||||
let h = imgA[0].height * zoom;
|
||||
ctx.drawImage(img, mpos[0], mpos[1], w, h)
|
||||
}
|
||||
|
||||
|
|
67
docs/thingie.svg
Normal file
67
docs/thingie.svg
Normal file
|
@ -0,0 +1,67 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
version="1.1"
|
||||
id="svg99"
|
||||
width="832.63367"
|
||||
height="832.63367"
|
||||
viewBox="0 0 832.63367 832.63368"
|
||||
sodipodi:docname="thingie.svg"
|
||||
inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
|
||||
xml:space="preserve"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"><defs
|
||||
id="defs103" /><sodipodi:namedview
|
||||
id="namedview101"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#000000"
|
||||
borderopacity="0.25"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
showgrid="false"
|
||||
inkscape:zoom="3.9825437"
|
||||
inkscape:cx="443.05854"
|
||||
inkscape:cy="447.57826"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1007"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="g105" /><g
|
||||
inkscape:groupmode="layer"
|
||||
inkscape:label="Image"
|
||||
id="g105"><image
|
||||
width="832.63367"
|
||||
height="832.63367"
|
||||
preserveAspectRatio="none"
|
||||
style="image-rendering:optimizeSpeed"
|
||||
xlink:href="thingie.png"
|
||||
id="image594"
|
||||
x="0"
|
||||
y="0" /><rect
|
||||
style="fill:#000000;fill-opacity:0.64363295"
|
||||
id="rect603"
|
||||
width="832.63367"
|
||||
height="832.63367"
|
||||
x="0"
|
||||
y="0" /><path
|
||||
style="opacity:1;fill:#eb4040;fill-opacity:0.45482;stroke:#ffffff;stroke-opacity:1;paint-order:normal"
|
||||
d="m 406.87337,470.92616 3.84833,4.77535 -0.73844,8.5449 6.33357,5.03866 v 12.64969 l 5.17658,6.91783 3.11524,5.98823 h 23.24665 l -4.41575,-9.60002 3.62355,0.0775 1.43855,-1.00649 -2.35777,-5.22148 0.78173,-6.29329 -2.22737,-4.00891 -0.92847,-3.57631 1.00304,-5.13311 6.36496,-10.19613 1.96389,-7.9673 4.11108,-0.60192 8.46536,-2.4512 3.2914,5.43871 1.96194,3.39496 4.05832,-0.3551 -0.21479,-8.79115 -11.03323,-9.49656 -7.85756,4.24824 -8.74651,1.57696 -5.95119,-0.59937 -2.13513,-6.13499 -3.22439,-6.71636 -1.87863,-4.94731 -0.22609,-5.97784 4.15629,-5.24223 1.47202,0.17755 0.11706,-1.2888 -10.53279,-2.77204 -9.54181,2.04358 -3.07618,12.04642 1.90806,3.42516 -1.90806,4.02648 5.75708,15.97913 -5.75708,8.54608 -8.01082,0.95158 -1.29893,5.63623 z"
|
||||
id="path2127" /><text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:9.71354px;font-family:sans-serif;-inkscape-font-specification:'sans-serif Bold';opacity:1;fill:#ffffff;fill-opacity:0.991232;stroke:none;stroke-width:0.80946;stroke-opacity:1;paint-order:normal"
|
||||
x="288.06116"
|
||||
y="565.2309"
|
||||
id="text2300"
|
||||
transform="rotate(-13.963974)"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan2298"
|
||||
x="288.06116"
|
||||
y="565.2309"
|
||||
style="stroke-width:0.80946">Akoria</tspan></text></g></svg>
|
After Width: | Height: | Size: 3.1 KiB |
Loading…
Reference in a new issue