juzzlin / DustRacing2D

Dust Racing 2D is a traditional top-down car racing game including a level editor.
http://juzzlin.github.io/DustRacing2D/index.html
GNU General Public License v3.0
301 stars 67 forks source link

Roughly sort tracks by length/complexity/difficulty #99

Closed Wuzzy2 closed 4 years ago

Wuzzy2 commented 4 years ago

Fixes #75.

Sorts the tracks in the order suggested in #75.

Yes, I know you wanted to do an auto-sort sometime, but until this happens, this simple hardcoded sorting shouldn't hurt in the meantime. This is just a very lightweight and simple way to do it.

Automatic sorting can still be implemented later.

juzzlin commented 4 years ago

This is nice. In order to prevent weird things from happening (broken unlocking, record set for locked track etc) I "upgraded" the QSetting group names for now.

juzzlin commented 4 years ago

Merged.