how would i go about adding score to my game
thanks you it work but it just says 0000000 for score
What do you want it to say? The tutorial should teach you why it has all the leading zeros and you should be able to adapt it to your needs.
i want the score to go up when i click the button
In your button handler, call the score.add() function with the amount you want to add to the score.
thanks you it work but it just says 0000000 for score
What do you want it to say? The tutorial should teach you why it has all the leading zeros and you should be able to adapt it to your needs.
i want the score to go up when i click the button
In your button handler, call the score.add() function with the amount you want to add to the score.