Kotlin meets LibGDX

Written in Kotlin

Utilizes language features like coroutines, type-safe builders and operator overloading to ease game development.

Based on LibGDX

Extends a robust multi-platform game framework with highly modular and minimally opinionated Kotlin utilities.

Multi-platform

KTX can be used to create desktop, Android and iOS applications. Supports other platforms through third-party libraries.

Safe

Our main goals are usability and stability. Comprehensive test suites are written for every KTX feature.

Well documented

Each module is documented by a guide with a list of its features and extensions, as well as API usage examples.

Open

KTX sources are available on GitHub under CC0 license. We are open to contributions.

KTX modules

ktx-actors Extensions of Scene2D widgets.
ktx-app Application lifecycle management utilities.
ktx-ashley Ashley entity-component system utiltities.
ktx-assets Assets handling extensions.
ktx-async Coroutines context using LibGDX threading model.
ktx-box2d Type-safe builders and utilities for Box2D bodies, fixtures and joints.
ktx-collections Utilities for LibGDX memory efficient collections.
ktx-freetype Improvements of TTF/OTF fonts loading API.
ktx-freetype-async Asynchronous loading API for TTF/OTF fonts.
ktx-graphics Graphics and rendering tools utitilies.
ktx-i18n Internationalization API improvements.
ktx-inject Lightweight, simplistic dependency injection without reflection.
ktx-log Reduced runtime overhead logging.
ktx-math Math extensions and operator overloads.
ktx-scene2d Type-safe Scene2D widget builders.
ktx-style Type-safe Scene2D styles builders.
ktx-vis Type-safe VisUI widget builders.
ktx-vis-style Type-safe VisUI styles builders.

Try KTX

All KTX libraries are available through Maven Central.

Made with KTX

TetroCrate

Google Play App Store Facebook
Addictive 3D puzzle game inspired by the classic tangram puzzles.

Horde!

Desktop Sources
Made in under 40 hours. Won the BialJam 2017 competition. Can you outlast the horde?

Neighbourhood Watch

Desktop Sources
Made in under 24 hours on the East Games United 2016 game jam. Clear the neighbourhood out of filthy wrongdoers!

Herring.io

Desktop Sources
Made in under 30 hours. Won the third price on the East Games United 2016 game jam. Eat smaller fish, grow bigger, repeat.

Ore Infinium

Desktop Sources Reddit
Open source multi-player Terraria-inspired sci-fi game in early development.
Missing your game? Let us know!