A small modification of js\plugins\bunchastuff.js for those that do not want or cannot use the shipped NodeJS exe, comment the function with the same name and use this.
Hmm, spec says win7, but I run it and the system says it's "not a valid Win32 application".
Running index.html with the local access flag works, but there could be problems along the way. And saving will be a chore, copying base64 strings from and to the Dev tools.
Other than the usual problem of being too dark, did an early intentional game over, pretty impressive pixel art, I must say.
https://www.youtube.com/watch?v=Sjd5a_KwHDM
Haven't test from start to finish but this solves immediate runtime exception that breaks the game when you encounter the first enemy.function monsterImageExists(filename) { const extensions = [".png_", ".png"]; for (const ext of extensions) { const url = "./img/enemies/" + filename + ext; const xhr = new XMLHttpRequest(); xhr.open("HEAD", url, false); try { xhr.send(); const foundit = xhr.status === 200 || xhr.status === 304; if (foundit) return true; } catch { console.log(`Existence check error: ${url}\n`); } } //Orig file missing after both check fail. console.log("missing file: " + "./img/enemies/" + filename); return false; }Running index.html with the local access flag works, but there could be problems along the way. And saving will be a chore, copying base64 strings from and to the Dev tools.
Other than the usual problem of being too dark, did an early intentional game over, pretty impressive pixel art, I must say.