1
Support / Depth issue.
« on: January 19, 2013, 04:58:42 am »
I have 3 objects in this problem.
Object 1: The animatedSprite of a character
Object 2: The TileMap object
Object 3: The 2dtk camera
My problem is that I am using the tileMap as a plane. The camera is rotated to look at the tileMap from a 45x and 45y degree rotation (like an isometric angle). As my animated sprite move over the tileMap, there is a point where the tileMap which is behind the animatedSprite is drawn over the animatedSprite. Is there some depth option I am missing? Can I alter some draw order code to fix this?
Object 1: The animatedSprite of a character
Object 2: The TileMap object
Object 3: The 2dtk camera
My problem is that I am using the tileMap as a plane. The camera is rotated to look at the tileMap from a 45x and 45y degree rotation (like an isometric angle). As my animated sprite move over the tileMap, there is a point where the tileMap which is behind the animatedSprite is drawn over the animatedSprite. Is there some depth option I am missing? Can I alter some draw order code to fix this?