Hey everyone, this is like my.. what.. 3rd topic since yesterday? Learning this stuff takes a lot of effort! Bear with me here if you all will~
The point of showing you those sections of code is so that I can display how the layers in my project are setup.
Having objs be on the same layer as mobs might seem a little weird, but here's why;
I've added a Day Cycle system to the game, which adds overlays to areas. Now, when the obj layer is below the mob, the mob shows up above the area overlays, which isn't right graphically.
Some objs I just define to have a higher layer, like this here cactus;
The purpose being, so that when a mob walks by the cactus if it's north of it, the top tip of the cactus should overlay the mob icon.
However... Even in this case, the -Cactus- shows up above the area overlay. The area's layer is set at runtime so that I don't see it's effects in the map editor. I'm.. not sure why this is happening, the only logical explanation I have is that overlays don't necessarily inherit their owner's layer?
Help would be appreciated!