[r197] Timer (Timescale) Bug

Bugs will be moved here once resolved.

Post » Thu Feb 19, 2015 5:08 pm

Problem Description
The Timer is not affected by timescale.
According to the manual: "The rate of On timer triggering is affected by the time scale."
So I thought this may be a bug because it is not.

Attach a Capx
Done

Description of Capx
At displays how long the timer took to trigger.
The first value is with default timescale (1).
The second value displays is with timescale 2 (Double Speed)

Observed Result
The second value is ca. 1 second

Expected Result
The second value should be ca. 0.5 seconds

Affected Browsers
  • Chrome: YES
  • FireFox: YES
  • Internet Explorer: YES

Operating System and Service Pack
Windows 10 TP 64-Bit

Construct 2 Version ID
197
You do not have the required permissions to view the files attached to this post.
Last edited by SgtConti on Sat Feb 21, 2015 11:35 am, edited 1 time in total.
"It's done when it's done"

Shadows of War
Buy on Steam ;)
B
23
S
10
G
7
Posts: 253
Reputation: 4,891

Post » Thu Feb 19, 2015 9:08 pm

The timer is affected by timescale as is the time expression. Try printing out wallclocktime.
B
55
S
28
G
18
Posts: 1,520
Reputation: 25,285

Post » Mon Feb 23, 2015 1:18 pm

The 'time' expression is affected by the time scale too! So in this case it is working correctly - when you set the time scale to 2 then the 'time' expression increases twice as fast as well. Like @ramones says use the wallclocktime expression for a non-timescaled time.
Scirra Founder
B
373
S
218
G
83
Posts: 23,434
Reputation: 185,808


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest