This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2009-12-11 14:25:56

Locomule
Scratcher
Registered: 2009-08-24
Posts: 500+

High Score Sorter - demo

Someone asked about how to do this so I made this. Just follow the onscreen instructions.

This project simulates an unsorted list of 5 scores by randomly generating them and putting them into a list. Then it goes through the list and one at a time, sorts them into a new list which would be used as a high score list.

http://scratch.mit.edu/projects/Locomule/798510

Although now having done this, I think I would instead just use the sorting part of this to automatically sort the scores as they are saved. Then there would be no "unsorted" list to deal with >=P


aka Pain from DragonSpires, Delrith Online, BotBattle, Urban Dead etc etc lol

Offline

 

Board footer