All Versions
43
Latest Version
Avg Release Cycle
56 days
Latest Release
-
Changelog History
Page 4
Changelog History
Page 4
-
v1.9.7 Changes
November 02, 2017The first release supporting LibGDX 1.9.7.
- ⚡️ [UPDATE] Updated LibGDX to 1.9.7.
- ⚡️ [UPDATE] Updated to Kotlin 1.1.51.
- ⚡️ [UPDATE] Updated to Kotlin Coroutines 0.19.3.
- ⚡️ [UPDATE] Updated to Gradle 4.3.
Known issues:
- [BUG] (
ktx-box2d
)ChainShape
does not work correctly in LibGDX 1.9.7, and hence is not supported in KTX. This might break existing applications. If your application relies on Box2D, it is advised to use previous or next LibGDX release. Note that1.9.7-b1
should work with LibGDX 1.9.8 without any issues.
-
v1.9.7-b1 Changes
November 02, 2017The first release supporting LibGDX 1.9.7.
- ⚡️ [UPDATE] Updated LibGDX to 1.9.7.
- ⚡️ [UPDATE] Updated to Kotlin 1.1.51.
- ⚡️ [UPDATE] Updated to Kotlin Coroutines 0.19.3.
- ⚡️ [UPDATE] Updated to Gradle 4.3.
Known issues:
- [BUG] (
ktx-box2d
)ChainShape
does not work correctly in LibGDX 1.9.7, and hence is not supported in KTX. This might break existing applications. If your application relies on Box2D, it is advised to use previous or next LibGDX release. Note that1.9.7-b1
should work with LibGDX 1.9.8 without any issues.
-
v1.9.6 Changes
August 06, 2017🔋 Features significant updates of official Kotlin libraries. Removes fixed rendering time step support from
ktx-app
, as it seemed to cause more issues than it actually solved.
- ⚡️ [UPDATE] Updated to Kotlin 1.1.3-2.
- ⚡️ [UPDATE] Updated to Kotlin Coroutines 0.17.
- ⚡️ [UPDATE] Updated to Gradle 4.0.2.
- [CHANGE] (
ktx-app
)KotlinApplication
was removed. UseKtxApplicationAdapter
orKtxGame
instead. - [CHANGE] (
ktx-app
)KtxGame
no longer supports fixed rendering time steps. - [FEATURE] (
ktx-app
) Clearing screen on rendering is now optional when usingKtxGame
. ChangeclearScreen
parameter tofalse
to turn off screen clearing. - [FEATURE] (
ktx-box2d
)World.rayCast
extension methods that allow creating ray-cast callbacks with the Kotlin lambda syntax.KtxRayCastCallback
alias added to ease implementation of this utility. - [FEATURE] (
ktx-box2d
) AddedRayCast
object with constants that can be returned by the customRayCastCallback
implementations.
-
v1.9.6-b7 Changes
August 06, 2017🔋 Features significant updates of official Kotlin libraries. Removes fixed rendering time step support from
ktx-app
, as it seemed to cause more issues than it actually solved.
- ⚡️ [UPDATE] Updated to Kotlin 1.1.3-2.
- ⚡️ [UPDATE] Updated to Kotlin Coroutines 0.17.
- ⚡️ [UPDATE] Updated to Gradle 4.0.2.
- [CHANGE] (
ktx-app
)KotlinApplication
was removed. UseKtxApplicationAdapter
orKtxGame
instead. - [CHANGE] (
ktx-app
)KtxGame
no longer supports fixed rendering time steps. - [FEATURE] (
ktx-app
) Clearing screen on rendering is now optional when usingKtxGame
. ChangeclearScreen
parameter tofalse
to turn off screen clearing. - [FEATURE] (
ktx-box2d
)World.rayCast
extension methods that allow creating ray-cast callbacks with the Kotlin lambda syntax.KtxRayCastCallback
alias added to ease implementation of this utility. - [FEATURE] (
ktx-box2d
) AddedRayCast
object with constants that can be returned by the customRayCastCallback
implementations.
-
v1.9.6-b6 Changes
June 22, 2017Brings a significant fix to
AssetStorage
, as well as a partial rewrite ofktx-ashley
module - now it depends on the latest version of the Ashley framework and uses some of its new features.
- ⚡️ [UPDATE] Updated to Gradle 4.0.
- ⚡️ [UPDATE] Updated to Ashley 1.7.3.
- [CHANGE] (
ktx-ashley
) Extensions updated to supportEngine
base class additionally to thePooledEngine
.Engine.add
andEngine.entity
extension methods to replacePooledEngine
equivalents.- Changed
PooledEntity
toEngineEntity
, wrappingEntity
and providing access toEngine
API.
- [CHANGE] (
ktx-async
)TextAssetLoader
now extendsAsynchronousAssetLoader
instead ofSynchronousAssetLoader
. - [FIX] (
ktx-async
)AssetStorage
now correctly handlesSynchronousAssetLoader
instances on the main rendering thread.
-
v1.9.6-b5 Changes
- ⚡️ [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
.
-
v1.9.6-b4 Changes
- [FEATURE] (
ktx-collections
) Addedmap
,filter
andflatten
extension methods that return LibGDX collections. - [FEATURE] (
ktx-collections
)PooledList
now properly implementshashCode
andequals
. - [FEATURE] (
ktx-app
) AddedKtxGame
: KTX equivalent of LibGDXGame
. - [FEATURE] (
ktx-app
) AddedKtxScreen
: adapter of the LibGDXScreen
interface making all methods optional to implement. - [FEATURE] (
ktx-app
) AddedemptyScreen
utility method returning a no-op implementation ofScreen
. - [FEATURE] (
ktx-inject
)Context
now implementsDisposable
and allows to dispose of all registered singletons and providers. - [FEATURE] (
ktx-inject
) AddedContext.remove
andremoveProvider
methods. Now providers for particular types can be removed without clearing the whole context. - [FEATURE] (
ktx-inject
)getProvider
,setProvider
andclear
methods ofContext
are now open and can be overridden.
- [FEATURE] (
-
v1.9.6-b3 Changes
- ⚡️ [UPDATE] Updated to Kotlin 1.1.2-3.
- ⚡️ [UPDATE] Updated to Kotlin Coroutines 0.15.
- [CHANGE] (
ktx-assets
) StaticAssetManager
instance container -Assets
- was removed. All top level functions 🚚 depending on the globalAssetManager
were removed. - [FEATURE] (
ktx-assets
) AddedFileType.getResolver
extension method creatingFileHandleResolver
instances. - [FEATURE] (
ktx-assets
) AddedFileHandleResolver.withPrefix
extension method decorating resolvers withPrefixFileHandleResolver
. - [FEATURE] (
ktx-assets
) AddedFileHandleResolver.forResolutions
extension method decorating resolvers withResolutionFileResolver
. - [FEATURE] (
ktx-assets
) Addedresolution
function constructingResolutionFileResolver.Resolution
instances. - [FEATURE] (
ktx-async
) AddedAssetStorage
: a lightweight coroutines-based alternative toAssetManager
. - [FEATURE] (
ktx-box2d
) Implemented a new KTX module with Box2D physics engine utilities:ktx-box2d
.world
factory method constructingWorld
instances.World.body
extension method providing type-safe builder DSL forBody
instances.FixtureDef
builder methods supporting all shapes (CircleShape
,PolygonShape
,ChainShape
,EdgeShape
).FixtureDef.filder
extension methods simplifyingFilter
properties setup.BodyDefinition
is aBodyDef
extension providingBody
building DSL. Used internally byWorld.body
.FixtureDefinition
is aFixtureDef
extension providingFixture
building DSL. Used internally byBodyDefinition
.fixture
,circle
,box
,polygon
,chain
,loop
andedge
extensionFixture
building methods added toBody
.earthGravity
property allowing to setWorld
gravity roughly matching Earth's gravity.onCreate
callbacks inBodyDefinition
andFixtureDefinition
giving access to builtBody
andFixture
instances in building blocks.Body
extension methods that ease creation ofJoint
instances between 2 bodies:jointWith
,gearJointWith
,ropeJointWith
,weldJointWith
,motorJointWith
,mouseJointWith
,wheelJointWith
,pulleyJointWith
,distanceJointWith
,frictionJointWith
,revoluteJointWith
,prismaticJointWith
.
- [CHANGE] (
ktx-i18n
) StaticI18NBundle
instance container -I18n
- was removed. - [CHANGE] (
ktx-i18n
) Top levelnls
functions were removed. - [FEATURE] (
ktx-i18n
)nls
property and method added toBundleLine
for extra readability. - [CHANGE] (
ktx-inject
) StaticContext
instance container was removed. All top level functions depending on the 🚚 globalContext
were removed. - [FEATURE] (
ktx-inject
)Context.register
builder method added to ease context initiation process.
-
v1.9.6-b2 Changes
- ⚡️ [UPDATE] Updated to Kotlin 1.1.1.
- ⚡️ [UPDATE] Updated to VisUI 1.3.0.
- [FEATURE] (
ktx-actors
) Added inlinedtxt
extension properties toLabel
andTextButton
widgets. - [FEATURE] (
ktx-actors
) AddedKtxInputListener
: anInputListener
extension with parameter types improvements. - [FEATURE] (
ktx-actors
)alpha
extension properties ofActor
andStage
are now inlined. - [FEATURE] (
ktx-app
) AddedKtxApplicationAdapter
interface which makes implementing all ofApplicationListener
methods optional. - [FEATURE] (
ktx-app
) AddedKtxInputAdapter
interface which makes implementing all ofInputProcessor
methods optional. - [FEATURE] (
ktx-app
) Addeduse
inlined methods toBatch
andShaderProgram
, allowing to omitbegin()
andend()
calls. - [FEATURE] (
ktx-app
) Addedcolor
factory method to allow constructing LibGDXColor
instances with named parameters. - [FEATURE] (
ktx-app
) AddedColor.copy
extension method that allows to copyColor
instances with optional overriding of chosen values. - [CHANGE] (
ktx-app
)KotlinApplication#timeSinceLastRender
now has a protected default getter. - [CHANGE] (
ktx-assets
) StaticAssetManager
instance container was deprecated. Static access toAssetManager
🚀 will be removed in the next release. - [FEATURE] (
ktx-assets
) Addedload
,loadAsset
,loadOnDemand
,getAsset
,unload
andunloadSafety
extension methods toAssetManager
to provide an alternative to equivalent utility functions using static manager instance. - [FEATURE] (
ktx-assets
) AddedgetLoader
andsetLoader
extension methods toAssetManager
forAssetLoader
handling. - [FEATURE] (
ktx-async
) Implemented a new KTX module with multi-threaded operations utilities:ktx-async
.- Implemented coroutines context using LibGDX threading model:
KtxAsync
. It resumes suspending operations on the main rendering thread withGdx.app.postRunnable
utility. It has to be initiated on the main thread withenableKtxCoroutines
. - Added utility
ktxAsync
function which launches non-blocking coroutine usingKtxAsync
context. - Added
skipFrame
method that suspends the coroutine and resumes it on the next frame usingGdx.app.postRunnable
. - Added
delay
method that offers non-blocking coroutine suspensions for the given period of time. - Added
httpRequest
method that performs asynchronous suspending HTTP request using LibGDXNet
API. - Added
asynchronous
method, which allows to perform suspending operations on a separate thread. schedule
andinterval
utility methods added to ease the use ofcom.badlogic.gdx.utils.Timer
API.- Added
HttpRequestResult
: a thread-safeHttpResponse
wrapper that addresses libgdx#4700.
- Implemented coroutines context using LibGDX threading model:
- [FEATURE] (
ktx-collections
) AddedsortDescending
,sortBy
andsortByDescending
utility methods to LibGDXArray
. - [FEATURE] (
ktx-collections
) Added type aliases to LibGDX collections to avoid name collisions with standard library:GdxArray
:com.badlogic.gdx.utils.Array
GdxIntArray
:com.badlogic.gdx.utils.IntArray
GdxFloatArray
:com.badlogic.gdx.utils.FloatArray
GdxBooleanArray
:com.badlogic.gdx.utils.BooleanArray
GdxCharArray
:com.badlogic.gdx.utils.CharArray
GdxLongArray
:com.badlogic.gdx.utils.LongArray
GdxShortArray
:com.badlogic.gdx.utils.ShortArray
GdxSet
:com.badlogic.gdx.utils.ObjectSet
GdxMap
:com.badlogic.gdx.utils.ObjectMap
GdxList
:ktx.collections.PooledList
- [FEATURE] (
ktx-collections
)lastIndex
extension properties of LibGDX arrays are now inlined. - [FEATURE] (
ktx-collections
) Addedcomponent1()
andcomponent2()
operator extension methods toEntry
classes 👍 of LibGDX maps to support destructing syntax and simplify iteration. - [CHANGE] (
ktx-i18n
) StaticI18NBundle
instance container was deprecated. Static access toI18NBundle
will be ✂ removed in the next release. - [CHANGE] (
ktx-inject
) StaticContext
instance container was deprecated. Static access toContext
will be ✂ removed in the next release. - [FEATURE] (
ktx-scene2d
,ktx-vis
)inCell
extension property added toTable
children. Now you can easily accessCell
🏗 instance outside of the actors' building blocks. - [FEATURE] (
ktx-scene2d
,ktx-vis
)inNode
extension property added toTree
children. Now you can easily accessNode
🏗 instance outside of the actors' building blocks. - [FEATURE] (
ktx-scene2d
,ktx-vis
) fluentcell
extension method added toTable
children, allowing to configureCell
🏗 properties outside of actors' building blocks. - [FEATURE] (
ktx-scene2d
,ktx-vis
) fluentnode
extension method added toTree
children, allowing to configureNode
🏗 properties outside of actors' building blocks. - [FEATURE] (
ktx-scene2d
,ktx-vis
) Resolved DSL scoping issues with Kotlin 1.1@DslMarker
API. - [CHANGE] (
ktx-scene2d
,ktx-vis
) Due to@DslMarker
introduction, implicit access to parental widgets is no longer possible 📚 in children building blocks. Seektx-scene2d
orktx-vis
documentation for more info on the migration. - [CHANGE] (
ktx-scene2d
)KNode.invoke
extension method was moved directly toKNode
API and no longer has to be imported. - [FEATURE] (
ktx-style
)Skin
instance is now available under lambda parameter ofskin
method init blocks. - [FEATURE] (
ktx-style
,ktx-style-vis
) Resolved DSL scoping issues with Kotlin 1.1@DslMarker
API. - [CHANGE] (
ktx-style
,ktx-style-vis
) Due to@DslMarker
introduction, implicit access toSkin
instance is no longer possible. 📚 Seektx-style
documentation for more info on the migration. - [FEATURE] (
ktx-vis
) Added support forHorizontalCollapsibleWidget
:horizontalCollapsible
builder methods ➕ added to all parental actors. - [FEATURE] (
ktx-vis
) Added support forVisTree
building using type-safe API. - [CHANGE] (
ktx-vis
) Cells and nodes are now available as lambda parameters. Seektx-vis
documentation for migration guide.
-
v1.9.6-b1 Changes
- ⚡️ [UPDATE] Updated to LibGDX 1.9.6.
- ⚡️ [UPDATE] Updated to Kotlin 1.1.0.
- [FEATURE] (
ktx-collections
) Added null-safesize()
method to LibGDXIntArray
,FloatArray
andBooleanArray
collections. - [FEATURE] (
ktx-collections
) Added null-safe extension propertylastIndex
to LibGDXArrayList
equivalents:Array
,IntArray
,FloatArray
andBooleanArray
.