How do I Display time as a high score?

Get help using Construct 2

Post » Mon Aug 04, 2014 10:26 pm

Basically I have the minute and second timer running but I can't find a tutorial on how to stop the timer once the game is over and how to display it as the score on the score layout.
B
10
S
1
Posts: 69
Reputation: 641

Post » Tue Aug 05, 2014 10:22 am

make 2 new vars
score=0
playing=1

add an event
every 1 second
if playing = 1
add 1 to score

when you want to stop counting change playing to any other value
you can display this var in any text object.
and for resetting set score to back to 0.
Image
B
78
S
29
G
12
Posts: 515
Reputation: 12,559

Post » Sun Aug 10, 2014 7:47 pm

I'm sorry all this went over my head.
B
10
S
1
Posts: 69
Reputation: 641

Post » Sun Aug 10, 2014 9:04 pm

here you go:

scoringExample.capx
You do not have the required permissions to view the files attached to this post.
Image
B
78
S
29
G
12
Posts: 515
Reputation: 12,559

Post » Mon Aug 11, 2014 9:33 pm

Thanks, I was also able to get help from a friend as well.
B
10
S
1
Posts: 69
Reputation: 641


Return to How do I....?

Who is online

Users browsing this forum: Artcadev and 44 guests