Question by
csome19 · Jan 24, 2016 at 04:04 PM ·
score systemscoreboard
How do you make a scoreboard for a simple match three game??
Hello. I am making a simple match three game and in need of a scoreboard that updates after every move. the points system would be: 100 points for a match of 3. 200 points for a match of 4. 350 points for a match of 5.
Thank you in advance!! :)
Comment
Answer by ShadyProductions · Jan 24, 2016 at 05:41 PM
public string scoreText;
void Update() {
//set your scoreboard text gui to scoreText
}
void updateScoreboard(int matchAmount) {
scoreText += matchAmount;
//whatever
}
whenever it matches parse in the correct match like so:
do: updateScoreboard(3);
Your answer
Follow this Question
Related Questions
Score is being added up (in the background) and shows up at the end but not showing continuosly 1 Answer
My score system doesn't display or work? Please help me! 1 Answer
Highscore table C# HELP!!! 0 Answers
How to add one score every second to scoremanager c# 1 Answer
How to save playerscore on a list 0 Answers