diff --git a/docs/map.js b/docs/map.js index ff48e81..6bbe31a 100644 --- a/docs/map.js +++ b/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) } diff --git a/docs/thingie.svg b/docs/thingie.svg new file mode 100644 index 0000000..45f0116 --- /dev/null +++ b/docs/thingie.svg @@ -0,0 +1,67 @@ + + + +Akoria