Zdepth help?
Posted: Fri Feb 20, 2015 4:25 am
Hello guys, i have problem with zdepth.
I create the dialog box actor that pop up above an actor head, and it use that actor as parent.
The problem is when the dialog box created, it have same zdepth with the parent. So when i have an actor that have zdepth lower than the tile, the dialog box is obstructed by a tile.
I have try to do this : dialog box -> create actor -> change zdepth or dialog box -> draw actor -> change zdepth. But it didn't work. the dialog box still follow its parent zdepth.
Can you help me?
I create the dialog box actor that pop up above an actor head, and it use that actor as parent.
The problem is when the dialog box created, it have same zdepth with the parent. So when i have an actor that have zdepth lower than the tile, the dialog box is obstructed by a tile.
I have try to do this : dialog box -> create actor -> change zdepth or dialog box -> draw actor -> change zdepth. But it didn't work. the dialog box still follow its parent zdepth.
Can you help me?