Scoring with dynamic strings
Hey CT gang,
If you've ever played Galaga, you know that at the end of the Challenge level, you are given some string texts like this:
"Number of Hits: 38"
"Bonus Points = 3800"
Then the Bonus Points counts down to zero (on a 1 second timer I think), and the points are incremented by 1 on the players score.
So I can make a string object and place it next to a counter for line 1.
Then do the same for line 2 do the same.
But I'm stuck on two questions.
First, is that the best way to do scoring? (String and a counter going visible like in line 1 and 2 above)
Second, how do I replicate the count down hits / count up of scoring like in Galaga? Even better, how would I use an object / image as the total and do the Galaga count down / count up?
Example:
Lets say they killed three outta the five ufos. I'd like to see:
"[UFO image][UFO image][UFO image] killed = 1500 pts"
Then 1500 counts down to 0 in a second, and as it does, the players score goes up the same amount. Basically adding the ufo kill points to the main score.
Ideas?
Wiggy