All you basically need to do is decouple/de-attach your layer order from your program's sourcecode order. Make like a list of `layers` which you can sort into whatever order you want and then each layer has an image associated with it. Then you go through the list and draw the images in the order of the list.
Image order.
BlitzMax Forums/BlitzMax Programming/Image order.The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.