Andengine low FPS on certain phones Andengine low FPS on certain phones android android

Andengine low FPS on certain phones


I can think of several things you can do to help alleviate this problem.

You could use your method to detect the fps and then drop the particle systems if necessary. However, you don't have to poll it every second - you could do it once every ten seconds or so. If you do have a low frame rate, then you know the phone is going to suffer every now and then, so then you dont need to poll any more - you can lower the particles and stop polling.

Or, you could use the polling method with several "levels" of particle effects, so if it cant handle the top level, drop the the next level of complexity, and so on.

Also, you could even allow the user to manually adjust the particle effects, ie in an option menu allow them to switch them to a low setting or something.

Perhaps you could also profile devies on runtime, ie how many cores, graphics chip etc and adjust accordingly.

Make sure your particles are optimized etc, so you dont have unecessary texture sizes when they could be smaller etc, but i'm sure you've probably done this!


I would suggest you run all graphical features of your game, when it can be rendered at 30+ frames a second. If you see a frame rate under 30, you should switch off non-vital graphics eg. particles.


try to set "android:theme="@style/Theme.NoBackground" for your activity in manifest. it's switch off system background redering.

don't forger to create theme.xml:

<?xml version="1.0" encoding="UTF-8"?><resources>    <style name="Theme.NoBackground" parent="android:Theme">        <item name="android:windowBackground">@null</item></style></resources>