Posted By
|
Message
|
Road Kill 1987
Registered 29/07/2009
Points 134
|
19th August, 2012 at 19/08/2012 12:26:18 -
Hi guys, I'm looking in to using a custom hi-score system as I want custom test and not the typical fonts, I could figure out that part myself but I just can't seem to figure out the hi-score object as I can only use the one hi-score table. I could never get multiple hi-score tables working even though you can select the table you want.
If someone could give me a idea where to find a example or tutorial on getting more than one table to work, I'd appreciate it.
Thanks
Leighton
Xbox live Gamertag: Road Kill 1987
|
Chris Burrows
Registered 14/09/2002
Points 2396
|
19th August, 2012 at 19/08/2012 14:05:45 -
Use an array to store the entries and sort them using any sorting algorithm.
http://www.whenthereisnoroominhellthedeadwalktheearth.com/MMF/highscores2.mfa
I used bubble sort. http://en.wikipedia.org/wiki/Bubble_sort
Then for a "non typical" font, you need to use text blitting. There are a few extensions available but they are either not compatible with HWA or the various runtimes.
I recently wrote a tutorial teaching users how to text blit simply with active objects, it might be helpful for you.
http://www.diybandits.com.au/MMF/tutorial_textblit1.html
n/a
|
Road Kill 1987
Registered 29/07/2009
Points 134
|
19th August, 2012 at 19/08/2012 18:37:11 -
Thanks for the reply Chris, will look into it.
Xbox live Gamertag: Road Kill 1987
|
AndyUK Mascot Maniac
Registered 01/08/2002
Points 14586
|
19th August, 2012 at 19/08/2012 19:41:52 -
Yeah, I was about to suggest bubble sort. I did a really quick test once and it works really well for sorting a simple list of numbers.
.
|
|
|