Hello there,…i have a problem in my current project…i am making now a scoreboard that was using PNG images(numbers from 0-9) in my game…currently, i assign a variable to hold the current score of the player in the game…and i want the value of that assigned variable to be reflected by the PNG images(numbers) that will be seen on my game…for example:
player_score = 5041
in-game score = 005041 (using PNG numbers)
I got an idea of using place value for the player_score so that the numbers will be divided from ones - hundred thousands and that will be the game will read individually and reflect by the PNG numbers:
0 = hundred thousands
0 = ten thousands
5 = thousands
0 = hundreds
4 = tens
1 = ones
But the problem is i don’t know how to implement it…i tried to search, read and understands everything and applied it on my game project but no luck…if somebody knows how to make this please help me…thanks!