Slow Motion with low FPS

Get help using Construct 2

Post » Tue Apr 16, 2013 4:52 am

(sorry for bad English, I'm Russian)
Hi, can you help me?

I make the game with physics behavior. In browsers, web nodekit *.exe - I have 60 fps. When I compile it to *.apk(with cocoonJS) on my mobile devices I have:
1) Galaxy Note 2 (without energy saving mode) - 60 fps (the game looks good and fast, like how it looks in browser and *.exe)
2) Galaxy Note 2 (with energy saving mode) - 40 fps, and game looks good too, but all game physycs(only physics) have -30% speed, and it looks like a slow-motion... nevertheless the 60sec of game timer on 60fps = 60sec of real time, and 60sec of game timer on 40fps = 60 sec of real time... Only objects with physics slow down...

How can I do that physyx speed will be normal (independently of FPS)?mef1sto2013-04-16 04:57:04
Image
B
23
S
8
G
2
Posts: 104
Reputation: 4,502

Post » Tue Apr 16, 2013 5:12 am

You should read this article:
https://www.scirra.com/tutorials/67/delta-time-and-framerate-independence
B
14
S
5
G
4
Posts: 107
Reputation: 4,758

Post » Tue Apr 16, 2013 5:18 am

Thank you! In RU-Community forum have no this article. It's very usiful!
Image
B
23
S
8
G
2
Posts: 104
Reputation: 4,502


Return to How do I....?

Who is online

Users browsing this forum: djcrazypants, marekmk and 6 guests