How to optimize simple 3d game on android?

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

I have a game with main scene which has 2 sprite3d nodes and camera. When i run this game on android, FPS is reduced to 20. What i can do to increase performance?

Only thing that pops into mind is to use the GLES 2.0 backend. It i supported by a wider array of devices and it is lighter on computational resources at the expense of visual quality (which shouldn’t be all that much of an issue if you are making a 2D game).

Other than that you could make sure that no unecessary resources are taking up memory (variables, textures etc).

johnygames | 2020-08-13 13:29

:bust_in_silhouette: Reply From: Almetov_Ainur

I tried to remove all tweens in my project and it helped me(fps increased to max, 60, even with 100 objects in scene)