0 votes

In editor on my quite slow windows tablet I have around 300fps (turned vsync off just to see this) when I export to android with release templates I'm getting significant fps drops. Not all the time but every 5seconds or so. I tried to optimize a lot. I gained 100fps in editor (from 200 to 300)

The game is not so simple 2D game with physics involved (I'm using rigidbody2D - character), custom joystick input and moving background (1024x760). In project settings I use render and physics single-safe thread. The Android I'm testing on doesn't usually have any fps drops but has multiple cores (if that's the problem)

What should I do / try?

in Engine by (330 points)

1 Answer

+2 votes

did you try to use "Profiler" on debug tab on editor?
you can use it even while running on device.

enter image description here
enter image description here

by (9,776 points)

I can't get this to work. I turned on deploy with remote debug and exported with debugging enabled. Am I missing something?

don't export project.
just run project from editor by clicking android icon on top center toolbar.
then editor will install your project to device and connect debugger.

I'm using godot 2.1.2 - stable. There is no android icon. Do I have to update it?

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.