FPS is very unstable between 27-60...

Tested my mod on my android phone(CPU: SnapDragon 835) and a problem’s really annoyed me badly...I noticed the FPS is very unstable on my android device(the number was jumping between 27 - 60).And my mod is a heavy-scripted one.
Someone please tell me why?Is it something about the engine? Or how can I optimize my mod?

 
Try to cut down on update scripts.  Use as many animation scripts as you want just be sure to import them.
 
SimonSmith said:
Tested my mod on my android phone(CPU: SnapDragon 835) and a problem’s really annoyed me badly...I noticed the FPS is very unstable on my android device(the number was jumping between 27 - 60).And my mod is a heavy-scripted one.
Someone please tell me why?Is it something about the engine? Or how can I optimize my mod?

It's partly a limitation in how we measure frames per second. The timer we use to measure frame time has only millisecond precision, which isn't enough to display FPS accurately, so the FPS values displayed by OpenBOR are always a bit jumpy.

That said, there may also be something in your game that's slowing it down, as the two replies before me have said.
 
Plombo said:
It's partly a limitation in how we measure frames per second. The timer we use to measure frame time has only millisecond precision, which isn't enough to display FPS accurately, so the FPS values displayed by OpenBOR are always a bit jumpy.
That said, there may also be something in your game that's slowing it down, as the two replies before me have said.
Thank you.Yes,I have some sprite draw in update script. I'll make a test to see the difference using entity instead when I have time.
 
The FPS count now (for the next engine update) is way more precise and less jumpy - it will shows 60 FPS almost everytime. Unless you turn off Vsync - then you will see the old 250 jumpy FPS.
Vsync will be avaiable on the next engine update.
 
O Ilusionista said:
The FPS count now (for the next engine update) is way more precise and less jumpy - it will shows 60 FPS almost everytime. Unless you turn off Vsync - then you will see the old 250 jumpy FPS.
Vsync will be avaiable on the next engine update.

Vsync actually isn't implemented on Android yet, though hopefully it will be before the next engine release, since Android is the platform that stands to benefit the most from the reduced energy usage.
 
Plombo said:
Vsync actually isn't implemented on Android yet, though hopefully it will be before the next engine release, since Android is the platform that stands to benefit the most from the reduced energy usage.
Thank you for your reply.
And I think Vsync is very helpful for smooth graphics.
BTW,is Vsync implemented on PC?
 
it would be in everyones best interest if the release is released when it's ready, mature enough to be released.

There are some issues to be released which still needs wok, including some important issues.
 
Back
Top Bottom