How do I - Stop Timer

Get help using Construct 2

Post » Sat Apr 29, 2017 6:26 pm

Hi, i was wondering how could i stop a timer "win popup", when someone is completing the stage it's display his run time with message like level complete. I'm looking for something I could store into a localstorage further in my development.

If you have any idea's it's will be appreciated.

I have a "global variable" ingametime set to 0

Event with
Every tick - "zeropad(floor(ingametime)%60,2) & "." & zeropad(int(ingametime*1000)%1000,2)"
System - add dt to ingametime

Sub event
On start of layout - System - Ingametime = 0

Thanks you!
B
4
Posts: 3
Reputation: 206

Post » Sun Apr 30, 2017 5:33 am

use the timer Behavior!

Image
B
103
S
35
G
16
Posts: 1,227
Reputation: 17,198


Return to How do I....?

Who is online

Users browsing this forum: Sproadic and 6 guests