Display two digits
bora
Member, PRO Posts: 45
Hi,
i have a countdown from 60 to 0 - it´s working fine - but unter 10 it show only one digit "0" i want to sho two digits "00" how do i make this.
Thanks!!! ;-)
i have a countdown from 60 to 0 - it´s working fine - but unter 10 it show only one digit "0" i want to sho two digits "00" how do i make this.
Thanks!!! ;-)
Comments
Then create a rule:
if game.countdown is smaller than 10
Display text: "0"..game.countdown
otherwise
Display text: game.countdown
And can you help me to display more than 999999 points (1500000) in Highscore.
Thank you!
@bora, Hi, @MotherHoose has a neat solution to this:
http://forums.gamesalad.com/discussion/43171/display-large-integer
By the way, when the GSC engine is no longer Lua, this problem should no longer exist.
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
Thank you very much!