R
RicardoVL
Guest
Hello all,
I have some trouble in finding out what the correct way is of depth in GMS2
The fences are tiles in 2 different layers, de upper half is above the NPC's layer
and the bottom tiles beneath them.
I want the characters to be able to walk to the fence and stand really close to it, just like in real life.
I know there are some tricks to do with dept = -y but i only know this trick with objects
I could make the fences into objects, but i think that's inefficient.
And how to properly use depth between npc's, in the step event i do: depth = -y
But when i do that the depth is overall and i can for example walk over trees. (i need to change that depth to??)
I have some trouble in finding out what the correct way is of depth in GMS2
The fences are tiles in 2 different layers, de upper half is above the NPC's layer
and the bottom tiles beneath them.
I want the characters to be able to walk to the fence and stand really close to it, just like in real life.
I know there are some tricks to do with dept = -y but i only know this trick with objects
I could make the fences into objects, but i think that's inefficient.
And how to properly use depth between npc's, in the step event i do: depth = -y
But when i do that the depth is overall and i can for example walk over trees. (i need to change that depth to??)
Last edited by a moderator: