Maintenance release with some minor improvements and dependency updates. The last planned release to officially support Kotlin 1.
- [UPDATE] Updated to Kotlin 1.9.25.
- [UPDATE] Updated to Kotlin Coroutines 1.8.1.
- [UPDATE] Updated to Gradle 7.6.4.
- [UPDATE] Updated to Dokka 1.9.20.
- [MISC] JDK 11 or newer is now required to build the KTX project.
- [CHANGE] (
ktx-assets
) Thepool
factory method now attempts to resetPoolable
objects with the defaultdiscard
lambda to match the default libGDX pool behavior. Pass a custom function to override it. - [FEATURE] (
ktx-math
) Added component deconstructing operators for 2D shapes:Rectangle
: x, y, width, heightEllipse
: x, y, width, heightCircle
: x, y, radiusPolygon
: x, yPolyline
: x, y
- [CHANGE] (
ktx-scene2d
)image
factory method can now be called without parameters or withnull
to create anImage
without aDrawable
. - [FEATURE] (
ktx-tiled
) Addeduse
extension method toBatchTiledMapRenderer
that automatically callsbeginRender()
andendRender()
.