Releases: Quillraven/Fleks
Releases · Quillraven/Fleks
1.1-JVM
A small bugfix release that fixes the issue that entities that are created in a system's constructor are not added correctly to families. EntityListener
did not get notified correctly in this specific case.
1.0-JVM
Minor update to the JVM version of Fleks:
- Update gradle from 7.3.3 to 7.4.2
- Update Kotlin from 1.6.10 to 1.6.21
- add new
getOrNull
function toComponentMapper
- refactor system initialization.
onInit
is now no longer necessary. Theworld
can be accessed in the normalinit
constructor block of a system - update ReadMe to better explain the two different flavors of Fleks and why they are there (KMP and JVM)
With the new getOrNull
function it is now possible to write concise code together with Kotlin's let
like:
val animations : ComponentMapper<Animation>
// ....
animations.getOrNull(entity)?.let { animation ->
animation.loop = false
}
1.0-KMP-RC1
1.0-RC3
1.0-RC2
- NEW: named dependencies - it is now possible to add multiple dependencies of the same type using the new
@Qualifier
annotation - NEW:
onInit
function for systems to initialize logic that is dependent on theworld
. Also, accessing theworld
in a normal init block will now throw an Exception - NEW:
ComponentMapper
can now be retrieved from anywhere via theworld
with the newmapper
function - BUGFIX: Removing the same entity multiple times will no longer add it multiple times to the recycled list
- BUGFIX:
removeAll
will no longer clean up delayed entity removals. This is now done at the end of the iteration of the current system as it is done with normal removal
1.0-RC1
- UPDATE: update gradle to 7.3.3 and Kotlin to 1.6.10 (log4j vulnerability fixes)
- NEW:
dispose
function for world to remove all entities and dispose systems via a newonDispose
function - NEW:
ComponentListener
forWorldConfiguration
to add custom code for add/remove of specific components - NEW:
entity
is now directly available in the configuration block of a newly created entity - BUGFIX: families are now correctly updated in systems using a
Fixed
interval - NEW: a new exception is now thrown when injectables are not used during system creation
1.0-alpha
- fixed an issue with sorting of more than seven entities
Pre-Release-20211120
First Pre-Release version containing the entire functionality and documentation.
Will try to add a normal mavenCentral publish later. For now, please manually download the jar and include it as a dependency to your project.
Update: artifact is now available on mavenCentral:
repositories {
mavenCentral()
}
dependencies {
implementation("io.github.quillraven.fleks:Fleks:preRelease-20211120")
}