D
DyingSilence
Guest
I make my roguelite game right now, it has a FOV algorhitm that draws black triangles in the places which player doesn't see. It works perfectly well.
But i want to draw some wall sprites on walls wchich cast those "vision shadows", so i made that "z" is the lower, the closer the object is to the player, so the near ones will cloak the further ones.
In theory.
Practically they behave like they kept the same depth, which is a mess.
Question:
How do I change actual draw depth?
But i want to draw some wall sprites on walls wchich cast those "vision shadows", so i made that "z" is the lower, the closer the object is to the player, so the near ones will cloak the further ones.
In theory.
Practically they behave like they kept the same depth, which is a mess.
Question:
How do I change actual draw depth?