Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drawing Layers #16

Open
fairhat opened this issue Mar 31, 2020 · 1 comment
Open

Drawing Layers #16

fairhat opened this issue Mar 31, 2020 · 1 comment

Comments

@fairhat
Copy link

fairhat commented Mar 31, 2020

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?

@LordEwans
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants