Skip to content

Jecs v0.2.0

Compare
Choose a tag to compare
@Ukendio Ukendio released this 03 Jul 00:31
· 270 commits to main since this release

[email protected]

  • Improved iteration speeds 20-40% by manually indexing rather than using next()
  • Added world:parent(entity) and jecs.ChildOf respectively as first class citizen for building parent-child relationships.
  • Give a parent to an entity with world:add($source, pair(ChildOf, $target))
  • Use world:parent(entity) to find the target of the relationship.
  • Use this if all you want to do is to prevent an entity from being matched against entity as opposed to world:delete(entity).
  • Added luau types thanks to @alicesaidhi