PuzzleScript
PuzzleScript copied to clipboard
Open Source HTML5 Puzzle Game Engine
…warning emitted. Fixes #932
This is essentially the same code as #924, with this additional code to make sure `deltatime` is accurate ```js var prevTimestamp; function loop(timestamp) { var deltatime = 0 if (prevTimestamp...
The startup code in `editor.js` looks like this: ``` var fileToOpen=getParameterByName("demo"); if (fileToOpen!==null&&fileToOpen.length>0) { tryLoadFile(fileToOpen); code.value = "loading..."; } else { ``` It is possible for the query string to...
Here is the node install and command line: `npm i rimraf compress-images web-resource-inliner ncp [email protected] concat ycssmin terser gzipper html-minifier-terser glob` `node compile.js ` Here is the full error trace:...
`MAX_ERRORS` is set to 5 in `compiler.js`. If this limit is hit the compiler emits a console message and exits. The HTML system error message 'Errors detected during compilation' is...
New clone of PuzzleScript, then ``` >npm i rimraf@3 compress-images web-resource-inliner ncp [email protected] concat ycssmin terser gzipper html-minifier-terser glob >node .\compile.js ``` Usual console messages down to here: ``` Optimizing...
initLevel is of type Object, but level is of type Level. This is the core bug. If a compile fails before it creates any levels, then the level is never...
awaiting further comment