hello,
I search a speed sorted paint algorithm for my group of sprites.
have you a example or tips ?
thank you
hello,
I search a speed sorted paint algorithm for my group of sprites.
have you a example or tips ?
thank you
Excuse me, but could you explain a little bit more in detail. That would help a lot.
ha sorry for my english.
is for paint one sprite on foreground or background of other sprites depending of the location of sprite on map.
in iso map this :
The Quicksort-algorithm is very fast (as the name lets you expect.), but i never testet out yet if its fast enough for sorting your Sprites each frameā¦
mbw
Seems like you have only few fixed positions where the sprites can be positioned, not on every single pixel?
Depending on the number of sprites and number of possible positions you may also try a bucketsort.