Repository navigation
Releases: Quillraven/ktx
Release list
1.14.2-rc2
The Kotlin version update to 2.4.20 broke the script module. I have no experience with Kotlin scripting and as far as I know it is experimental and has no priority for JetBrains. I migrated it from the JSR-223 stuff to the official scripting documentation that I found. Not quite sure what exactly breaks for people that use this module but it does support more things now than before from my understanding (see below). If anyone is using it and faces issues then please create an Issue for it or ideally a PR. Thanks!
1.14.2-rc2
- [FEATURE] (
ktx-textratypist) new KTX module with utilities and type-safe builders for TextraTypist animated text widgets.textraLabelfactory method for creating plainTextraLabelinstances.typingLabelfactory method for creating animatedTypingLabelinstances.
- [UPDATE] Updated to Kotlin 2.4.20.
- [UPDATE] Updated to Gradle 9.7.1.
- [CHANGE] (
ktx-script)KotlinScriptEngineno longer wraps the deprecated JSR-223ScriptEngineand now uses
the native Kotlin scripting host from thekotlin-scripting-jvm-hostpackage:- The public
engineproperty exposing the JSR-223ScriptEnginewas removed. - Scripts executed with
evaluateOncan now containimportstatements. import,importAll, andsetPackageno longer evaluate scripts; invalid imports or packages are reported
with aScriptEngineExceptionon the next script evaluation.- Scripts are compiled and evaluated separately. Top-level classes, functions, and variables declared in a script
are no longer available in future script evaluations. setPackagecan be called multiple times; the package of the future scripts is updated accordingly.
- The public
- [FEATURE] (
ktx-tiled) AddedtileSetextension method toTiledMapthat returns aTiledMapTileSet
by name or throws aMissingTileSetExceptionif the tileset does not exist. - [FEATURE] (
ktx-tiled) AddedforEachCellextension methods toTiledMapandTiledMapTileLayerthat
execute an action for each non-emptyCellof the tile layer(s), passing the cell and its coordinates. - [FEATURE] (
ktx-tiled) AddedtileByIdextension method toTiledMapthat returns aTiledMapTile
from a tileset by its name and local tile ID. It throws aMissingTileSetExceptionif the tileset does not
exist and aMissingTileExceptionif the computed global tile ID does not match a tile in the tileset. - [FEATURE] (
ktx-tiled) AddedlayerOrNullextension method toTiledMapthat returns aMapLayer
by name ornullif the layer does not exist.
1.14.2-rc1
The first official release of the community fork. To migrate you need to update the dependencies from io.github.libktx to io.github.quillraven.libktx. So e.g.:
io.github.libktx:ktx-app becomes io.github.quillraven.libktx:ktx-actors.
- [UPDATE] Updated to libGDX 1.14.2.
- [UPDATE] Updated to Kotlin 2.4.10.
- [UPDATE] Updated to Kotlin Coroutines 1.11.0.
- [UPDATE] Updated to VisUI 1.5.9.
- [UPDATE] Updated to Dokka 2.2.0.
- [UPDATE] Updated to Gradle 9.7.0.
- [MISC] The project is now maintained as a community fork of the original LibKTX repository.
- [FEATURE] (
ktx-tiled)MapObject.shapenow also supportsPointMapObjectandTextMapObject. Point objects
are returned as aRectanglewith zero width and height, text objects as theirRectangle.