R178 Delta Time Doesn't Work as Expected

Bugs will be moved here once resolved.

Post » Fri Sep 19, 2014 12:56 am

Problem Description
Delta Time Doesn't Work as Expected

Attach a Capx
Done.

Description of Capx
Supposed to be a framerate independent increase over time.

Steps to Reproduce Bug


Observed Result
Supposed to be a framerate independent increase over time. However switching to another tab does increase wallclocktime as expected, but delta time doesn't seem to be accumulating properly. I have created a work around though with my own delta time variable using wallclocktime.

Affected Browsers
  • Chrome: (YES)
  • FireFox: (YES)

Operating System and Service Pack
Windows 8 64-bit

Construct 2 Version ID
R178
You do not have the required permissions to view the files attached to this post.
B
9
S
3
G
1
Posts: 191
Reputation: 1,725

Post » Fri Sep 19, 2014 12:30 pm

Closing as not a bug. Set the text object to smuggler*dt and you'll notice it's about 0.4. Since you round the result you get 0. dt is working correctly, you are just rounding it to zero.
Scirra Founder
B
398
S
236
G
88
Posts: 24,428
Reputation: 194,625


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 3 guests