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
3
Posts: 1
Reputation: 177

Post » Sun Apr 30, 2017 5:33 am

use the timer Behavior!

Image
B
100
S
33
G
16
Posts: 1,204
Reputation: 16,865


Return to How do I....?

Who is online

Users browsing this forum: tannerdler and 24 guests