Wallclock format

Just started using Construct 2? Post your questions here

Post » Fri Mar 17, 2017 12:18 am

I am using wallclock to get the interval between of the start of a event and the mouse click. So I store it, reset the time and start the wallclock again. I wonder if the format of this interval is in milliseconds or not and if not, how can I format it in milliseconds.
B
4
S
2
Posts: 127
Reputation: 854

Post » Fri Mar 17, 2017 12:57 am

I am pretty sure it is in milliseconds. The game timer is in milliseconds.
Banned User
B
27
S
7
G
58
Posts: 1,229
Reputation: 34,790

Post » Fri Mar 17, 2017 3:30 pm

If so, could you please tell me how can I do to get this format: x.xxxxxxxxxxxx and convert to: x.xxx?
B
4
S
2
Posts: 127
Reputation: 854

Post » Fri Mar 17, 2017 5:55 pm

B
4
S
2
Posts: 127
Reputation: 854

Post » Fri Mar 17, 2017 5:57 pm

Braus wrote:I found the answer in this thread: round-format-a-decimal-value_t62995?&hilit=show+3+places


Good! Yes it can be rounded to show as actual clock time and there is even a tutorial that shows a wall clock with hands being used.
Banned User
B
27
S
7
G
58
Posts: 1,229
Reputation: 34,790


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 2 guests