the earlier they are in the stage child list then the earlier they are drawn.
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
Just to add something to @SinisterSoft answer, if you don't understand what you're doing - sometimes I feel this way - for debugging purposes you can print_r() your parent sprite and read its children sprites (and their children, and metatables...).
This won't give you the exact ordering inside each parent, since it uses "pairs" to parse the array, but if your question is related to who is parent to who this should give you a start.
Comments
https://deluxepixel.com
This won't give you the exact ordering inside each parent, since it uses "pairs" to parse the array, but if your question is related to who is parent to who this should give you a start.
Likes: SinisterSoft