This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
0 votes

So I have a simple 2d android game with a player and a maximum of 10 enemy objects. Other objects are static and don't move. Every enemy has a visibilityEnabler to stop physics process.

The weird thing is when one enemy enters the scene the fps drop from 60 to 20 ~ 30.

Nothing complex in the physics process code as shown below

physics process code

in Engine by (19 points)

3 Answers

0 votes
Best answer

I don't know why but I rolled back to GLES2 and the problem was solved

by (19 points)
0 votes

Do You Have Errors In Your Debug Console??? If Yes Then You Need To Fix The Bug And Til There Are No Errors And Try Again If It Does not Work Then IDK, It Works For Me If I Got Low FPS

by (56 points)

No I don't have errors.
I already solved this and posted my answer

Oh Ok Sorry I Did Not See :)

0 votes

I know you "fixed" it but I must say it to make sure:
Android and lights does not work well in Godot 3.x
though when i think about it i never tried using GLES2 instead and only used GLES3 which really didn't like lights

by (1,205 points)
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 Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.