phaser3-plugin-isometric icon indicating copy to clipboard operation
phaser3-plugin-isometric copied to clipboard

Drawing Layers

Open fairhat opened this issue 5 years ago • 1 comments

Hello,

is it possible to add some sort of "drawing layers" to the objects? For example i'm drawing a grid as floor, placing a chair on top of it and a player on top of the chair. If i rotate the chair (say facing away from the camera) i want the chair to partially draw (split my sprites already) on top of the player.

For now i am placing some objects closer to the camera. However this seems hacky to me and adds a lot more complexity even for basic objects (like a chair)

Is there a way to sort the objects that are drawn?

fairhat avatar Mar 31 '20 10:03 fairhat

The layer system will now work, I opened a pull request. Though it may be late.

notxorand avatar Oct 09 '23 01:10 notxorand