Engine lag problems

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

I made a game with enemies that has a basic AI for platform, but when I put many of them on the map the game has a lot of lag (to the point of reaching 2 FPS), I already tried to analyze what could be for the debugger but can not understand (Godot 2.1.4), I also did a simple game in godot 3.0 for android where you hopped on platforms that were generated and presented a lot of lag on the android thus breaking the game .

Can someone help me?

I’ll send the link to anyone who wants to help, grateful

I already tried to analyze what could be for the debugger but can not understand (Godot 2.1.4)

So did you try using the profiler?

For the 3.0 stuff I never tried, especially because it requires more power and GLES3 support which is not as widespread as GLES2. It could mayyybe due to bad code or mobile-unfriendly scene but I can’t say more at this point.

Zylann | 2018-04-04 18:14