Tips and tricks
Export without the editor
export <platform> <name> alone=1
Disable vsync for web builds
This seems to fix the massive slowdowns on Firefox. Source.
Edit index.html and look for the arguments: ['cart.tic'], line. Replace it with
arguments: ['cart.tic', '--vsync=0'],
Make a custom build without Ruby
Because a) it’s a PITA to get it to build correctly, and b) you won’t miss it if you don’t use it.
Just add -DBUILD_WITH_RUBY=Off to the build process.
cmake -G "Visual Studio 16 2019" -A x64 -DCMAKE_BUILD_TYPE=MinSizeRel -DBUILD_SDLGPU=On -DBUILD_WITH_RUBY=Off -DBUILD_WITH_ALL=On ..