Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / Sprite based score?

Author
Message
Zeus
18
Years of Service
User Offline
Joined: 8th Jul 2006
Location: Atop Mount Olympus
Posted: 13th Jul 2008 20:56
How can I make sprites display the player's current score?

Thanks,
~Zeus~

When Chuck Norris goes to a gas station, he doesn't pay them $4.09 a gallon, they pay him $4.09 a gallon.
BN2 Productions
21
Years of Service
User Offline
Joined: 22nd Jan 2004
Location:
Posted: 13th Jul 2008 21:53
break up the number, then display the appropriate numbers. So it could look something like this:


Basically, it just converts it into a string, and takes the character in each space (you may need to replace mid$() with left$(right$()), a way of doing the same thing, )without the problems of extra digits).

Hope this helps

Ever notice how in Microsoft word, the word "microsoft" is auto corrected to be "Microsoft" but "macintosh" just gets the dumb red underline?

Login to post a reply

Server time is: 2025-06-07 06:59:57
Your offset time is: 2025-06-07 06:59:57