Performance & Timer

0 favourites
  • 3 posts
From the Asset Store
Tabata timer
$9.99 USD
Template for Tabata timer, fully documented in comments and video
  • Hello.

    After i tested my game for the first time on my galaxy note 1, I noticed, that the timer goes weird.

    I have a timer, which creates an object every 1.5 seconds. On my smartphone it creates that object around every 1 second. It doesnt sound like a big problem, but it makes the game unplayable (platformer).

    The second thing i wonder about is that the game stays at around 28-29 fps. Regardles what I do. I even deletet all objects, all layers, the whole event sheet. Then the fps where about 30.000+. But if I just place a small 64x64 sprite without behaviors, without code, just place it on the layout, the fps keep getting back to 28-29.

    I use CocoonJS. Do smartphones have a frame limiter?

    Thanks in advance.

    Edit:

    Okay I managed to get the timing to work. It seems, that the timer is depending on the fps, which is not ideal, I find. I now use a global variable instead in the every tick event.

  • You might find this article useful:

    construct.net/en

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Awesome. Exactly what I need. Thank you. <img src="smileys/smiley20.gif" border="0" align="middle" />

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)