0 votes

If I have some enemies aout of screen, and they use an animation player to make their animation, is better to stop the animation player with a visibility notifier?
I ask this because of:
I have some lag problems, I have an almost finished game (simple 2d platformer), the biggest problem is that is’n 100% smooth. So when I am playing my beta test from google play, in some medium or low devices the game get laggy (you can play but not smoothy) the screen freeze for miliseconds some times, On pc and some medium or high devices, works well. When uploading to google play, play console show me some warning with graphics, which I don’t know how bad is it. I got some tips like , if you use a lot of get_node, it’s better to save it on an onready var, I passed from gles 3 to gles 2, I passed my particles 2d to GPU particles. The game improved a little. Also when playing the game if I go to monitor I got 16 ms on process, 60 fps, 0,4 ms on physics process, 30 mb of static memory. I dont know If this values are normal or bad, but when playing process some times rise to 17, static memory to 40 and physisc to 0,8 or 1 ms

in Engine by (138 points)

Please log in or register to answer this question.

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 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 webmaster@godotengine.org with your username.