Bullet Speed and FPS independence

Discussion and feedback on Construct 2

Post » Wed Dec 03, 2014 3:37 am

I guess this has been asked before, but i didn't find anything confirmating it as i need to sleep tonight, so i'll ask here, hope it won't make you crazy :oops:

Do i need to add *dt to the Bullet Speed calculation (which changes during the game via events) to make it framerate independent? In that case, how? just adding *dt, or something like (number*60)*dt?
B
63
S
22
G
4
Posts: 357
Reputation: 6,503

Post » Wed Dec 03, 2014 3:43 am

Nop, most (if not all?) official behaviour are already time based, so you don't have to worry about anything.
http://www.schizokoa.com we are a small game jam group, visit us!
B
25
S
6
G
1
Posts: 51
Reputation: 1,934

Post » Wed Dec 03, 2014 9:15 am

As @lahssoo said. But you should read the official tutorial on framerate independence.
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596

Post » Wed Dec 03, 2014 1:51 pm

Thanks, it was not necessary since behaviours already use it
B
63
S
22
G
4
Posts: 357
Reputation: 6,503


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 9 guests