Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
I'm trying to sort an array of high scores. However the sort array function sorts by the first number. So "900" is considered higher than "3,000,000". Is there another sorting function I can use?
You can do your own sort with events. For example here is a bubble sort:
https://www.dropbox.com/s/p3qr558so9fzg ... .capx?dl=1
"3,000,000" is string..not a number...
Develop games in your browser. Powerful, performant & highly capable.
korbaach Yeah, I was just using commas for emphasis on the number being bigger.
R0J0hound Thanks! I'll give that capx a look over.