timer stop on level end

Get help using Construct 2

Post » Mon Sep 09, 2013 9:53 pm

Hi all,

i have a level timer " every tick add dt to timer variable". Now i want it to stop when player colides with levelend. Then i want to display the result time on endscreen which i have in separate event sheet.

anyone got an idea ?
B
8
S
4
G
1
Posts: 191
Reputation: 1,873

Post » Mon Sep 09, 2013 10:26 pm

Put your every tick-add dt to timer event in a group. Deactivate that group on level end.
B
100
S
32
G
11
Posts: 1,552
Reputation: 21,622

Post » Mon Sep 09, 2013 10:45 pm

[QUOTE=ArcadEd] Put your every tick-add dt to timer event in a group. Deactivate that group on level end.[/QUOTE]

thanks ArcadED will try that :). Do you know by any chance how to display the time result? I already have a font SET to
"Time: "&Floor(Timer/60) & ":" & right("00"&Floor(Timer%60),2)
do i just need it to display on the end level screen?

B
8
S
4
G
1
Posts: 191
Reputation: 1,873


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 4 guests