Get the latest tech news

How to Minify Godot's Build Size (93MB –> 6.4MB EXE)


A quick guide on how to dramatically reduce Godot's export sizes for your game/app!

Godot's default file size for web exports is quite massive, and there weren't a lot of guides on how to reduce it aside from the official documentation- which gives general information without any numbers or details, leaving people to figure out how effective any of the solutions really are. Compiling export templates with full link-time optimization takes anywhere from 5-15 minutes on my Ryzen 7 7735HS, and you'll have to do it again every single time you change something, so this'll need some patience. It's interesting how close the Web and Windows builds are getting in terms of size as we approach a limit for how many features we can disable while keeping the base runtime intact.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of godot

godot

Photo of EXE

EXE

Photo of build size

build size

Related news:

News photo

You're Breathtaking [Godot #100000]

News photo

Hackers abuse popular Godot game engine to infect thousands of PCs

News photo

Xogot: Godot on iPad now in Testflight