Question about "timescale"

Discussion and feedback on Construct 2

Post » Fri Apr 24, 2015 2:16 am

How does the timescale exactly work from the event calculating point of view? Does it slow down calculations? I'm asking, because I noticed that after setting timescale to 0.8, after quite a while, collision detection bugs didn't happen yet.
My professional Royalty Free Music at Scirra Assets Store
--------------------------------
Specs: i5 2500, 16gb of ram, gtx 770, win 7, Focusrite Scarlett 8i6, Mackie mr8mk2, Alesis 320, browsing the net on chrome.
B
91
S
30
G
22
Posts: 1,985
Reputation: 20,149

Post » Fri Apr 24, 2015 4:11 am

It just changes the value of dt.
At 60 fps with a timescale of 1, dt will be ~0.0166.
If you change the timescale the the fps will stay the same but the frame time ( which is usually dt) will be multiplied by the timescale to give a new dt.

So for example at 60fps
If Timescale=2 then dt will be about 0.0333
Or if timescale = 0.5 dt will be about 0.00833
B
94
S
33
G
114
Posts: 5,357
Reputation: 73,775


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 9 guests