⚡️ Power up your libGDX game!
Changelog:
StateManager
FBO-related code to a new file, TransitionFBO.kt
.audio
and image
modules.image
module.clearScreen
functionality to core
module.profiler
module + README.core
module:StateManager
is no longer a singleton. You should now inject a StateManager
instance in each concrete State
you create. Please refer to the (updated) docs on the core
module.StateManager
now only takes a Camera
and a Viewport
. Previously, you could also pass an optional initial state, but that has been removed.WorldConfig
has a better JVM Name (for Java interoperability).HorizontalSlide
enum members are slightly better named now.Transition
from Java).physics
module:kotlin.reflect.jvm.internal.impl.load.kotlin.JvmType
dependency from BodyBuilder
.BodyBuilder#changeWorld
now returns the previous world.BodyBuilder
now has a disposeWorld
method.LibGDX' GLFrameBuffer API went through some changes, which included the removal of the static factory methods (as seen here) and the re-introduction of public constructors. These changes were discussed here.
Other small updates with this release include:
Added Gradle integration, so that imports can be painless and truly modular.
Updated Kotlin version to 1.1.51.
Updated libGDX version to 1.9.7.
Some libGDX' API changes had broken a few modules. That has been fixed.
Extensive testing and CI coming...