Conversation
e6054ab to
3ce7058
Compare
|
Hi and thank you for your message! |
|
That would be OK with me. Looking at #29, there are a few changes from there I would like to incorporate into this branch, so give me another couple hours to get that done :) |
* Added NPM build scripts * Improved plugin workflow a little * In-sourced shader minifier * Removed ect binary from source tree (replaced with dev dependency)
3ce7058 to
f54b94b
Compare
|
Ok, I updated a few things:
All of this combined makes it possible to build the minified and zipped versions on Windows, MacOS and Linux. I am ready to merge now 👍 |
Hi there 👋
First of all, super cool little engine you got here, I'm very impressed! I fell down the js13k rabbit hole the other day, and found this engine thanks to the "resources" section on the website.
Snooping around the repository for a bit, I noticed the lack of build instructions. It is also not clear which parts of the source are stripped out of the lite version, or how the minification (of JS and/or GLSL) or zipping is done. I did some guesswork, and arrived at some results that are close enough.
So what we have here is a build script, that runs the code through
terser, and then manually minifies the shader code using a series of regular expressions.I have a few ideas for how to decrease the byte size of the engine even further, but in order to properly test if they save space when zipped or not, I needed a base to work from.
I'm looking forward to hearing your feedback :)
Notes: