Skip to content

Releases: Quillraven/Fleks

1.1-JVM

12 May 17:53
Compare
Choose a tag to compare

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

28 Apr 16:12
039d24c
Compare
Choose a tag to compare

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 to ComponentMapper
  • refactor system initialization. onInit is now no longer necessary. The world can be accessed in the normal init 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

28 Feb 06:33
cea69be
Compare
Choose a tag to compare

The first release candidate for a kotlin multiplatform version of Fleks! Big shoutout to jobe-m who made those adjustments.

For details of API changes refer to this link.

1.0-RC3

30 Jan 07:56
c395c5b
Compare
Choose a tag to compare

Most likely the last RC for version 1.0 including two more utility functions:

  • NEW: addOrUpdate function for configureEntity to easily add or update a component (#29)
  • NEW: forEach function for the world to iterate over all active entities (#30)

1.0-RC2

19 Jan 14:43
55b66a4
Compare
Choose a tag to compare
  • 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 the world. Also, accessing the world in a normal init block will now throw an Exception
  • NEW: ComponentMapper can now be retrieved from anywhere via the world with the new mapper 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

02 Jan 11:56
76bf2c8
Compare
Choose a tag to compare
  • 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 new onDispose function
  • NEW: ComponentListener for WorldConfiguration 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

28 Nov 14:16
Compare
Choose a tag to compare
  • fixed an issue with sorting of more than seven entities

Pre-Release-20211120

20 Nov 10:01
Compare
Choose a tag to compare
Pre-Release-20211120 Pre-release
Pre-release

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")
}