Handmade Hero»Forums»Game
Ian Hern
8 posts
Ep 299. Idea for Sorting
I just finished episode 299 and have a (probably wrong) solution to the sort issue. Can anybody give me an example of where this wouldn't work?

If both entities are horisontal sort in Z.
If both are vertical sort in Y (using the entities smallest Y).
If one is horisontal and the other is vertical sort in Z (using the vertical entitys top Z).
Casey Muratori
801 posts / 1 project
Casey Muratori is a programmer at Molly Rocket on the game 1935 and is the host of the educational programming series Handmade Hero.
Ep 299. Idea for Sorting
That is actually the sort criteria we end up deciding to try, assuming I'm interpreting your list correctly. But we then prove it's not a total ordering, so we're going to have to use something other than a total ordering sort in order to use it - and that's where we left off before my headphones broke :)

- Casey