Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs

Optimized build script

A topic by asheraryam created 76 days ago Views: 40
Viewing posts 1 to 1

Hello!

First of all I really appreciate your nightly builds, and I was wondering if you could add the LTO option to the building script.

See here in docs: https://docs.godotengine.org/en/latest/development/compiling/optimizing_for_size...

The LTO option makes the binaries faster AND smaller. For comparison, empty games without LTO are around 120mb uncompressed (around 90mb compressed) but with LTO they are around 20mb when compressed into zip.

Especially since these builds are used for jam games, it is essential that are as small as possible since A) A lot of people need to be downloading it, and for browser playable games size is essential.

Also B) other engines have comparable build sizes for small games e.g. Unity jam games are usually 20mb as well, so having 100+ mb for a simple 2D game is embarrassing.

I hope you consider this option!