I encoded a game for Android. For each frame, I use the same procedure.
So, my game runs smoothly, but at some points the game gets stuck. I searched for deltaTimes methods in methods, but finding the problem is not easy.
In the image for deltaTime between frames:
you can see peaks. Between the peaks, the game runs smoothly.
So, my question is for you: did you know that the profiler or some similar eclipse to find the cause of the peaks? Or do you know a website with performance tips for developing games in android?
The garbage collector is wrong because the message does not arrive in the debug console.
// EDIT 1: After searching for additional performance hints, I added my own theme class:
<resources>
<style name="Theme.NoBackground" parent="android:Theme">
<item name="android:windowBackground">@null</item>
</style>
</resources>
, .
