Posted January 29, 2022 by Synthnostate
What’s new? Nothing except JS scripting, internal cleanup, and fixes.
Actually it’s a bit more than that. Graphics initialization and scene creation are almost fully script-driven now, and I’ve begun porting some old C++ subsystems (like stats and keymaps) to JS. Basically the C engine just puts graphics on the screen, and everything else is scriptable (and thus moddable).
I’m using the MuJS engine from MuPDF and Ghostscript, for now at least. It only supports ES5, none of the javascript features added after 2010, but it’s pretty simple and solid.
Now back to the good stuff…