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
314 stars 12 forks source link

Add shape, lines, and path rendering #134

Closed LeHaine closed 2 years ago

LeHaine commented 2 years ago

Adds simple shape rendering using an existing Batch instance to allow for batching draw calls by passing in a 1x1 white pixel texture.

Supported shapes (filled and outline):