4 ms·
emscripten gets pretty close via webassembly, you can embed all your assets... but it takes awhile to load before anything's happening when done that way.
by pengaru 4y ago
emscripten gets pretty close via webassembly, you can embed all your assets... but it takes awhile to load before anything's happening when done that way.
- viraptor 4y agoFlash also took time to load. The sites used loaders with progress bars for larger flash apps as well.
- madarco 4y agoBut it supported progressive loading. You could load only the first level and then load the next on-demand
- viraptor 4y agoYou can still do that with wasm by splitting the code. You need to loop through js to connect them, but for things like levels, you can likely do that or just memcpy between those environments.