6 ms·
I heard some hype lately about Godot so took a look today... I'm super bummed that the wasm is 50MB minimum just to get the engine rendering a blank scene. See
by sublinear 2y ago
I heard some hype lately about Godot so took a look today... I'm super bummed that the wasm is 50MB minimum just to get the engine rendering a blank scene.
Seems like that could be further optimized especially for simple 2D games that don't use many features. I was impressed overall though. I hadn't looked at Godot in a long time.
- kragen 2y agoalso you need https and some tweaks to your web server's cors parameters to permit wasm to multithread. godot is amazing tho
- Aeolun 2y agoIf you run on web, yes. But on desktop 50mb to get a whole game engine seems pretty awesome.
- account42 2y agoWhat is a "whole game engine"? Ideally an exported game only includes the parts that are actually used and those should be much smaller than 50 MB for a simple example or even for most games.
- manchmalscott 2y agoThe official “export templates” that you use need to be able to run any game you create with the stock engine, so they are fully featured. You have the option (and it’s recommended) to compile your own export templates, at which point you can specify which parts of the engine your specific game does and does not need (e.g. turn off the 3D, turn off the more advanced UI components, etc…)
- Aeolun 2y agoIt might be, but it’s extremely rare I see an app below 300mb these days.
- pkphilip 2y ago50MB is nothing. Consider that a "small" footprint Electron app is at least 120mb.
- josephg 2y agoSure, but web apps are downloaded in their entirety when they’re opened. A 50mb website would be horrible. Could be expensive to host, too. And, like electron, the size is almost entirely unnecessary. Even in the browser you can make quake in 13kb: https://js13kgames.com/entries/q1k3 https://js13kgames.com/entries/q1k3
- postalrat 2y agoThat isn't Quake
- account42 2y agoJust because many webapps are bloated doesn't make the size any less ridiculous.
- ChrisRR 2y agoAll that means is that electron is bloated
- pacifika 2y agoI think they would love to get any insight into shrinking this!