Hacker News new | past | comments | ask | show | jobs | submit login

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.




If you run on web, yes. But on desktop 50mb to get a whole game engine seems pretty awesome.


What 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.


The 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…)


It might be, but it’s extremely rare I see an app below 300mb these days.


also you need https and some tweaks to your web server's cors parameters to permit wasm to multithread. godot is amazing tho


I think they would love to get any insight into shrinking this!


50MB is nothing. Consider that a "small" footprint Electron app is at least 120mb.


Sure, 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


That isn't Quake


Just because many webapps are bloated doesn't make the size any less ridiculous.


All that means is that electron is bloated




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: