[SOLVED]Score Addition

Get help using Construct 2

Post » Wed Apr 10, 2013 5:46 am

Hi,

I've many level game.the player get different score every level.how do i add all score to one score? also when any level restart it must restart just own score.

I wait your help guero2013-04-10 08:11:26
B
10
S
3
G
3
Posts: 162
Reputation: 3,190

Post » Wed Apr 10, 2013 6:28 am

Have a global TotalScore variable.

At the end of a level, add the level score to the TotalScore variable and then at the start of the next level, set the level score to 0.
Project Lead of Zems Online Card Game

Producer at Impulse Limited
B
18
S
6
G
3
Posts: 677
Reputation: 5,194

Post » Wed Apr 10, 2013 7:35 am

[QUOTE=Excal] Have a global TotalScore variable.

At the end of a level, add the level score to the TotalScore variable and then at the start of the next level, set the level score to 0.[/QUOTE]

Thanks so much I think just like this but i dont know how i add the score to totalscore ?
B
10
S
3
G
3
Posts: 162
Reputation: 3,190

Post » Wed Apr 10, 2013 8:10 am

[QUOTE=Excal] Have a global TotalScore variable.

At the end of a level, add the level score to the TotalScore variable and then at the start of the next level, set the level score to 0.[/QUOTE]

Ok i've solved. I add this action.system->add to->variable:Totalscore,value:score.

Thanks again.

Regards,
guero2013-04-10 08:10:58
B
10
S
3
G
3
Posts: 162
Reputation: 3,190


Return to How do I....?

Who is online

Users browsing this forum: Pandadoor, Zebbi and 14 guests