-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Labels
Description
Currently to control z-ordering I remove a sprite from a scene then re-add it to place it on top (example). This is kind of hackish.
Did you envision this library handling such a thing? I might have a crack at it if you're interested. I was thinking of adding a z-attr to Sprite then sorting by that before drawing at https://github.com/PistonDevelopers/sprite/blob/master/src/scene.rs#L84
Thanks!
Xavier