Frame rate

Get help using Construct 2

Post » Fri Oct 14, 2011 3:14 pm

I'm new.. and not understanding timing issues. I made a game but it plays slowly after uploading to website. Is there a way to set the frame rate so that no matter where the game is played it is consistent. Thanks in advance.
B
3
G
1
Posts: 10
Reputation: 595

Post » Fri Oct 14, 2011 3:34 pm

Using DT is a good place to start.

Also be sure to have updated your graphic cards drivers and browser.
Also be aware that some browsers work better than other.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,998
Reputation: 57,791

Post » Fri Oct 14, 2011 3:36 pm

Can you link us to the game so we can try it ourselves? Possibly provide the .capx too? Which browser are you using as well? Is it any better in different browsers?

You might be interested in the article Delta-time and framerate independence which shows you how to make a game keep running at the same speed even if the framerate dips.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,468

Post » Fri Oct 14, 2011 3:50 pm

Thanks guys, did read DT article before asking but didn't quite follow it. I will go back over it slowly. I was hoping for a box to put in the fps number - like on flash!! I'll be back later...
B
3
G
1
Posts: 10
Reputation: 595

Post » Fri Oct 14, 2011 4:58 pm

Oh, if you want to display the framerate, just use the fps system expression! E.g. set text object text to fps
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,468


Return to How do I....?

Who is online

Users browsing this forum: agittm, mercuryus, tarek2 and 15 guests