{"repo":"libktx/ktx","free":true,"listed":false,"github":"https://github.com/libktx/ktx","clone":"git clone https://github.com/libktx/ktx.git","description":"Kotlin extensions for the libGDX game framework","language":"Kotlin","stars":1460,"topics":["kotlin","libgdx","scene2d","kotlin-utilities","coroutines","libgdx-api","kotlin-library","kotlin-extensions","kotlin-coroutines","kotlin-dsl"],"license":"CC0-1.0","category":"game-templates","readme_excerpt":"K o t lin extensions for libGD X . Table of contents Introduction Modules Installation Documentation Contribution Introduction KTX is a Kotlin game framework extending 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. Examples of Kotlin language features used to improve usability, performance, and readability of libGDX include: - Operator overloads for collections and mathematical operations. - Extension methods expanding and improving the original libGDX APIs without the use of inheritance. - Inline methods with reduced runtime overhead for various listeners, builders, and loggers. - Nullable types which improve typing information of selected interfaces and functions. - Default parameters reducing boilerplate code and providing sensible defaults for various operations. - Type-safe builders for GUI, interface styling, ECS, and physics engine setup. - Default interface methods simplifying their implementation. - Coroutines context providing concurrency utilities and non-blocking asset loading. - Reified types simplifying usage of methods normally consuming Class parameters. See the Choosing KTX article for pros and cons of this framework. Modules KTX was designed to be modular from day one. In fact, some of its libraries consist of just a single Kotlin file. You can include the selected KTX modules based on the needs of your appl","default_branch":null,"files":null,"tree":[],"storefront":"/r/libktx","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/libktx/ktx/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}