Skip to content

Releases: Ukendio/jecs

Jecs v0.2.6

03 Aug 03:55
eda420c
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.2.5...v0.2.6

Jecs v0.2.5

16 Jul 18:45
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.2.4...v0.2.5

Jecs v0.2.4

14 Jul 07:51
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.2.3...v0.2.4

Jecs v0.2.3

09 Jul 21:35
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.2.2...v0.2.3

v0.2.2

07 Jul 03:01
aa853de
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.2.1...v0.2.2

Jecs v0.2.1

06 Jul 13:39
Compare
Choose a tag to compare

What's Changed

  • Rename Matter -> Jecs in release workflow by @EncodedVenom in #60
  • Added jecs.Component built-in component which will be added to ids created with world:component().
    • used to find every component id with `query(jecs.Component)

Full Changelog: v0.2.0...V0.2.1

Jecs v0.2.0

03 Jul 00:31
Compare
Choose a tag to compare

[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

Jecs v0.1.1

02 Jul 23:26
5ff6a43
Compare
Choose a tag to compare

What's Changed

  • Added Typescript Types by @EncodedVenom in #51
  • Fix styling and add missing types by @kalrnlo in #53
  • Rename files to luau by @Ukendio in #54
  • Added typescript types thanks to @EncodedVenom
  • Added world:clear(entity) for removing the components to the corresponding entity

New Contributors

  • @EncodedVenom made their first contribution in #51
  • @kalrnlo made their first contribution in #53

Full Changelog: v0.1.0...V0.2.0

Jecs v0.1.0

19 May 02:32
b8f7bed
Compare
Choose a tag to compare

Jecs v0.1.0 is now available!

Jecs v0.1.0-rc.6

12 May 23:25
2df5f3f
Compare
Choose a tag to compare

Basically just added a wildcard term which lets you query any partially matched pairs

world:set(bob, pair(Eats, Apples), 10)
world:set(alice, pair(Eats, Oranges), 4)

for e, amount in world:query(pair(Eats, Wildcard)) do 
    print(`{getName(e)} eats {amount} fruits`)
end

--[[
  bob eats 10 fruits
  alice eats 4 fruits
]]

Install with Wally: ukendio/[email protected]

Full Changelog: v0.1.0-rc.5...v0.1.0-rc.6