add nations

This commit is contained in:
biglyderv 2025-02-08 19:48:01 -05:00
parent f956972c6d
commit b0354fd1fb
Signed by: biglyderv
GPG key ID: 1398543B9746192C
2 changed files with 72 additions and 5 deletions

View file

@ -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)
}