4 ms·
We can't distribute an entire game or animation as a single file which can be downloaded or embedded on a website. Think about things like Newgrounds. I mean I
by hlandau 4y ago
We can't distribute an entire game or animation as a single file which can be downloaded or embedded on a website. Think about things like Newgrounds.
I mean I guess you could do something awful with base64 encoding assets into a giant HTML file, but that sounds horrible.
Flash was also a platform for hosting bandwidth-efficient animation and people have just gone to using video now. That sacrifices incidental, easter egg-type interactivity and drives people to centralised services like YouTube.
- zozbot234 4y agoIsn't that what EPUB is for? It could even be embedded in an iframe similar to how you can embed PDF.
- hlandau 4y agoIf only browsers would support it.
- pengaru 4y agoemscripten 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.