Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat | DONATE
Gideros constant lags — Gideros Forum

Gideros constant lags

ArtiomArtiom Member
edited October 2014 in Bugs and issues
I just write
if event.deltaTime > 0.020 then
print(event.deltaTime)
end
in onEnterFrame in the EMPTY project, launch it on device player (or make single TextField and build apk) and see often numbers like:
0.020235005998984
0.035525714978576
0.032229512988124
0.021761026000604
0.023531206999905
0.026308559987228
0.021211659011897
0.029055393999442
0.084022584022023
0.024782542022876
0.038730352011044


35 ms, 84 ms, ?
Is it normal? Without if condition I can see numbers below 16.7 (like 2ms)

Tested on HTC One and Moto Razr. On desktop emulator I see good numbers (not more than 0.072) but simple things still lagging)

I was trying to write simple game and it was always lagging. Then I discovered this.
Any thoughts?

Comments

Sign In or Register to comment.