Android: Programming for performance: Do's and Dont's

:bust_in_silhouette: Reply From: Freeman

From my experience Godot is very fast on Android, but there are things that come to my mind:

  • not optimizing graphics;
    After I started to optimize/compress the graphic files, apks started to shrink significantly.

  • not compiling my own, optimized Godot engine. Maybe it’s not for a really new users, but at some point you will want to do that. In case of 2d games, just compile the engine without 3D component and without unused libraries baggage.

And from my own experince I would also add:

Hope it helps.

I found out, the hard way, that using tweens with fonts with outline works very bad on older phones - a frame taking 1,5 second to render.
Although it seems like an easy and cheap way to achieve very nice effects, it turns out that the best way to do it is by using pictures with the same tween effect instead.

cgeadas | 2020-03-26 16:27