Thanks for the update!
For now (unless a lot has changed since 3.0) you should be able to get the mesh associated with an image like this:
Then you can use Blitz's EntityOrder command on the mesh. Note that if you have several images grabbed from a single image using GrabImage3D this won't work because they share the same mesh. I think this is correct anyway.
EDIT: @jhocking - I just spotted your comment. Thanks! That was just a quick test to see if the technique would work. There's a much more impressive demo on its way... :)
And one request: is it possible to have maybe a way to set individually the draw order on each drawn sprite or text? maybe not for 3.1 but for a future version?
For now (unless a lot has changed since 3.0) you should be able to get the mesh associated with an image like this:
image3D=LoadImage3D("image.png",2,2,0) imageMesh=PeekInt(GDrawBank,image3D+DRAWBANKMESH)
Then you can use Blitz's EntityOrder command on the mesh. Note that if you have several images grabbed from a single image using GrabImage3D this won't work because they share the same mesh. I think this is correct anyway.
EDIT: @jhocking - I just spotted your comment. Thanks! That was just a quick test to see if the technique would work. There's a much more impressive demo on its way... :)