Jigoku / boxclip

2D platformer engine using LÖVE and Lua
https://jigoku.github.io/boxclip/
GNU General Public License v3.0
93 stars 8 forks source link

Draw ordering for platform / decals #95

Closed Jigoku closed 5 years ago

Jigoku commented 6 years ago

Decals should be drawn above all platforms, so that you can place a waterfall above a platform_b entity, eg; to make a cave/room where water is present.

However, decals have a spinning graphic at the top, which should be placed behind platform edges.

Possibly it could be done by "scissoring" the rotating sprite, in the case of a waterfall, and then simply drawing all decals above platforms.

Jigoku commented 6 years ago

Moved to milestone 0.3. About time to wrap up another alpha release, as quite a lot has been changed / added since 0.1 (almost 2 years ago!)