[SOLVED]Score Addition

  • 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 <img src="smileys/smiley1.gif" border="0" align="middle" />

  • 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.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • 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.

    Thanks so much <img src="smileys/smiley1.gif" border="0" align="middle" /> I think just like this but i dont know how i add the score to totalscore ? <img src="smileys/smiley1.gif" border="0" align="middle" />

  • 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.

    Ok i've solved. <img src="smileys/smiley1.gif" border="0" align="middle" /> I add this action.system->add to->variable:Totalscore,value:score.

    Thanks again. <img src="smileys/smiley1.gif" border="0" align="middle" />

    Regards,

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)