KTX is a Kotlin game framework built on libGDX. It aims to make libGDX as Kotlin-friendly as possible without completely rewriting the API. It provides modular utilities and extensions for selected parts of libGDX with poor Kotlin support. Utilizes language features like coroutines, type-safe builders and operator overloading to ease game development. Extends a robust multi-platform game framework with highly modular and minimally opinionated Kotlin utilities. KTX can be used to create desktop, Android and iOS applications. Supports other platforms through third-party libraries. Our main goals are usability and stability. Comprehensive test suites are written for every KTX feature. Each module is documented by a guide with a list of its features and extensions, as well as API usage examples.
Features
- Multi-platform
- Written in Kotlin
- Based on libGDX
- Well documented
- Safe and open
- Extensions of Scene2D widgets.