This commit is contained in:
biglyderv 2025-01-17 02:06:15 -05:00
parent 0327cb715a
commit 02ca4cf85b
7 changed files with 341 additions and 36 deletions

4
map.js
View file

@ -122,7 +122,9 @@ for (let asset of assets) {
}
let off = [-(imgA[0].width * zoom - map.width) / 2, -(imgA[0].height * zoom - map.height) / 2];
mpos = [off[0], off[1]];
setTimeout(function() {
mpos = [off[0], off[1]];
},300)
setInterval(move, 10);