this post was submitted on 11 Mar 2025
73 points (100.0% liked)

Godot

6381 readers
154 users here now

Welcome to the programming.dev Godot community!

This is a place where you can discuss about anything relating to the Godot game engine. Feel free to ask questions, post tutorials, show off your godot game, etc.

Make sure to follow the Godot CoC while chatting

We have a matrix room that can be used for chatting with other members of the community here

Links

Other Communities

Rules

We have a four strike system in this community where you get warned the first time you break a rule, then given a week ban, then given a year ban, then a permanent ban. Certain actions may bypass this and go straight to permanent ban if severe enough and done with malicious intent

Wormhole

[email protected]

Credits

founded 2 years ago
MODERATORS
 

This was a fun one. Here's my newest post on how to dramatically reduce Godot's build size.

Some sacrifices were made... But the end result is a Godot project that works exactly the same, albeit with slightly worse performance. Hope this can help others in achieving tiny build sizes!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 22 hours ago (5 children)

But, why?

100mb are already negligible. I want a reasonable size (less 20GB) and ok performance.

[–] [email protected] 3 points 6 hours ago (1 children)

@Gladaed @popcar2 web, mobile, and as always, less space and optimization is always a good thing.

[–] [email protected] 2 points 4 hours ago

Wasting time on metrics that don't matter is waste. I get and agree with mobile/web constraints. I did not consider them.

[–] [email protected] 30 points 22 hours ago

@Gladaed @popcar2 because every bloated 100gb game is a mix of a thousand different assets/executables/libraries where the developer thought "why optimize, 100MB is nothing".

Often with little more than symbol stripping, removing unneeded files, and basic lz compression you can cut most game sizes in half, reduce load times, and free up terabytes of space on your system.

[–] [email protected] 9 points 19 hours ago* (last edited 17 hours ago)

The article begins by talking about web exports. The default there is 42MB, which is kind of a lot for the web

Edit: Of course, compressed it is ~9, which isn't so bad, I suppose.

[–] [email protected] 9 points 21 hours ago* (last edited 21 hours ago)

For mobile this is a legit difference imo

Also what raptor said.