Tearing hear out over Order. Proper way to do it?
I always get loads of problems with order of objects if not using tons of layers. Is there some definite good and simple way to handle ordering of objects that works? What I am doing now is having an event that goes through all sorts of objects and moves them to the back, so I start with the objects I want in front and go down the list. For example if I want the grass to be in front, the player to be in the middle and the trees to be in the back it looks like this:
Run event once:
Move grass to back
Move player to back
Move trees to back
This does not work very well though and often objects seems to still not be in the right order, especially if they move around in the frame later.
I know there is the Layer object, I dont want to have an event running ALL the time though sorting the order of things because I have heard that can be very heavy on performance?