highscore vs score (capx)

Get help using Construct 2

Post » Tue Aug 20, 2013 3:28 pm

OK I understand that, but the highscore does not restart every time the level is replayed. It counts up from the previous number..
B
47
S
17
G
81
Posts: 2,226
Reputation: 48,099

Post » Tue Aug 20, 2013 4:08 pm

yes but when I will add some kind of Game Over function (for example -> brick.Count = 0    -->   Game over) it will restart also my Highscore when I want to play again..
B
14
S
4
Posts: 110
Reputation: 1,538

Post » Tue Aug 20, 2013 4:17 pm

What you could try..

oh wait, I already posted that..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Tue Aug 20, 2013 4:24 pm

i know but i am not sure whether i get that... If you could modify that capx and link it to me I would be grateful...
B
14
S
4
Posts: 110
Reputation: 1,538

Post » Tue Aug 20, 2013 4:29 pm

It depends what you do for game over. As it stands, high score is a global variable and will remain like that. If you're talking about storing high scores on the web then I don't know about that.
B
47
S
17
G
81
Posts: 2,226
Reputation: 48,099

Post » Tue Aug 20, 2013 6:19 pm

B
47
S
17
G
81
Posts: 2,226
Reputation: 48,099

Previous

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 20 guests