HDictus / breezefield

a physics library wrapper for love2d
MIT License
76 stars 5 forks source link

[Feature Request] Specifying draw order #16

Closed alexmozaidze closed 7 months ago

alexmozaidze commented 1 year ago

It would be quite useful to be able to specify draw order for objects. At the moment, one must implement draw ordering on his own, which basically restricts you from using world:draw, and it's quite unfortunate due to how simple it is to use.

HDictus commented 1 year ago

Good idea. Should be simple enough to do, just need to sort the list of colliders by some order attribute.

HDictus commented 1 year ago

see #17