Poor performance on Android (2D)

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By mar.s

When testing my game on Android (which it is intended for), I noticed it did not run very smootly. I added fps display and noticed, that on Android it runs at about 35-40 fps while in editor it runs smoothly at 60. I also checked that there was no memory/CPU.

My game is in 2D and uses GLES2. I went over my scripts and there are not any complicated actions in _physics_process() functions (only changes of positions etc.). Also my game does not use many objects - maximum around 15 at a time.

I searched for similar problems, but cannot find any solutions. Hopefully someone will help me here, thank you.

aren’t your textures too big?

volzhs | 2019-09-29 21:33

The only big one is the texture I use for background, it is 1080x7680 px, which is used for scrolling. All others are not that big.

mar.s | 2019-09-29 21:50