4 ms·
Wouldn't something like this work in a game engine that can export to Webassembly, like Godot? Though in either case, you lose the web platform, with its acces
by MayeulC 6y ago
Wouldn't something like this work in a game engine that can export to Webassembly, like Godot?
Though in either case, you lose the web platform, with its accessibility (aria, screen readers) and forward compatibility (like the one we had with the move to smartphones, etc).
- Mirioron 6y agoI'm unsure whether this applies to Godot, but usually game engines come with a lot of unnecessary baggage. I think UE4 at its smallest was still something like 20 MB despite you not needing almost any of it. A 2D engine or renderer like PIXI.js makes more sense in these cases.
- pier25 6y agoYes, exactly. For simple games or single animations Pixi is plenty. In fact Phaser.js is built on top of Pixi.
- MayeulC 6y agoGood point, thanks for reminding me of these :) I haven't really benchmarked the size, but there are a few demos floating around. Not entirely sure how to measure it, but that one seems to come down to less than 10kB? https://obersprengmeister.frozenfractal.com/ https://obersprengmeister.frozenfractal.com/