0 votes

Disabling or enabling features in Godot 3.2 will make my games lighter or smaller (in terms of size)?

asked Nov 14, 2019 in Engine by JulioYagami (636 points)

1 Answer

+2 votes
Best answer

See here:
https://docs.godotengine.org/en/3.1/development/compiling/optimizing_for_size.html

Are you refererring to a specific platform? Android templates will be built on exporting in 3.2 so maybe there's an option to directly deselect features like mentioned in the link above (without having to set up a build environment on your own).

answered Nov 15, 2019 by wombatstampede (3,189 points)
selected Nov 15, 2019 by JulioYagami

Android templates will be built on exporting in 3.2 so maybe there's an option to directly deselect features like mentioned in the link above (without having to set up a build environment on your own).

Unfortunately, this isn't possible as custom builds for Android will only recompile the Java code, not the native (C++) library the Java code links to. In a Godot-exported APK, the largest file is the native library, not the compiled Java classes (excluding the project PCK).

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.