littlektframework / littlekt

A multiplatform WebGPU 2D game framework written in Kotlin. Build your own game engine on top.
https://littlekt.com
Apache License 2.0
321 stars 12 forks source link

Add `YSort` Node #135

Closed LeHaine closed 2 years ago

LeHaine commented 2 years ago

Sort children nodes based on y-position. Nodes with a higher y position will be drawn later / on top of those with lower y positions.