KTX 1.9.6-b5
Pre-release
Pre-release
Includes a new module with Ashley ECS library utilities - ktx-ashley
. Contains minor breaking changes in ktx-actors
- listeners API was simplified.
- [UPDATE] Updated to Kotlin 1.1.2-5.
- [UPDATE] Updated to Kotlin Coroutines 0.16.
- [FEATURE] (
ktx-actors
)onChange
,onClick
,onKey
,onKeyDown
,onKeyUp
,onScrollFocus
andonKeyboardFocus
factory methods forEventListener
instances were added. Contrary to existing factory methods, these use minimal set of parameters to make listeners creation as concise as possible. - [CHANGE] (
ktx-actors
) ExistingonChange
,onClick
,onKey
,onKeyDown
,onKeyUp
,onScrollFocus
andonKeyboardFocus
factory methods where renamed toonChangeEvent
,onClickEvent
,onKeyEvent
,onKeyDownEvent
,onKeyUpEvent
,onScrollFocusEvent
andonKeyboardFocusEvent
respectively. Their excessive amount of parameters, useful only on rare occasions, led to unnecessary boilerplate during listeners creation. Seektx-actors
file documentation for migration guide. - [FEATURE] (
ktx-ashley
) new KTX module with Ashley entity component system utilities:ktx-ashley
.PooledEngine.add
andPooledEngine.entity
extension methods.PooledEntity
wrappingEntity
and providing access toPooledEngine
API.mapperFor
factory method that allows to createComponentMapper
instances.- Accessors for
Entity
objects usingComponentMappers
:get
,has
,hasNot
,remove
. - DSL methods for constructing
Family
builders withKClass
instances:oneOf
,allOf
,exclude
.
Known issues:
- [BUG] (
ktx-async
)AssetStorage
handlesSynchronousAssetLoader
instances on the IO thread pool instead of the main rendering thread, which causes issues with some synchronous loaders that need access to the OpenGL context.