Commit graph

86 commits

Author SHA1 Message Date
Marcus
b8f7bed84c
Release (#44)
* Add release

* Release 0.1.0

* Move the benches to bench.project.json
2024-05-19 04:30:20 +02:00
Marcus
f55993180b
Release (#43)
* Add release

* Release 0.1.0
2024-05-19 04:17:22 +02:00
Ukendio
6c2f47bf70 Add todo 2024-05-17 01:05:40 +02:00
Ukendio
5533cd1c64 Remove random testkit call 2024-05-17 00:37:47 +02:00
Ukendio
659b858f5a Fix name function 2024-05-17 00:19:53 +02:00
Marcus
cf0683cf03
Add World:target (#39) 2024-05-17 00:17:53 +02:00
Ukendio
e86b4c7f4c Rename functions 2024-05-14 17:52:41 +02:00
Ukendio
6710e3cdcb Bump wally to 0.3.2 2024-05-14 03:22:05 +02:00
Ukendio
85e2621cce CompatibleArchetype as a map 2024-05-13 20:15:09 +02:00
Ukendio
d6b6caf07a 0.1.0-rc.6 2024-05-13 02:26:00 +02:00
Marcus
2df5f3f18e
Add wildcards (#37)
* Fix export

* Initial commit

* Uncomment cases

* Rename case

* Add tests for wildcards

* Support wildcards in records

* Add tests for relation data

* Add shorthands

* Change casing of exports

* Change function signatures

* Improve inlining of ECS_PAIR

* Delete whitespace

* Create root archetype

* Add back tests

* Fix tests
2024-05-13 00:53:51 +02:00
Ukendio
582b09be66 Update readme 2024-05-11 02:12:47 +02:00
Ukendio
e6b16e91ae Remove assert 2024-05-11 02:10:04 +02:00
Ukendio
4c105fa72c Bump version 2024-05-10 20:36:01 +02:00
Ukendio
87711eff19 Register components as entities 2024-05-10 20:35:41 +02:00
Ukendio
076f0ca436 Bump to rc.4 and include lib 2024-05-10 18:20:02 +02:00
Ukendio
107d260abf Remove dependencies 2024-05-10 18:13:22 +02:00
Ukendio
d087df3594 0.1.0 2024-05-10 18:10:30 +02:00
Ukendio
10a54c368c Update list 2024-05-10 18:09:34 +02:00
Ukendio
cfee0e9861 Add relations as first class citizens 2024-05-10 18:02:23 +02:00
Marcus
d63de48546
Relationships (#31)
* Sparse set for entity records

* Swap dense indexes

* Improve inlining

* Add benchmarks

* Add tests for relations

* Add REST

* Merge upstream changes

* Add back symmetric and non idempotent add function

* Only swap when not last row

* Assert that the entity is alive

* Update example with relations
2024-05-10 17:59:57 +02:00
Marcus
6775601e21
Delete lib/a.lua 2024-05-10 14:27:38 +02:00
Ukendio
87d49e5134 Reorganize file 2024-05-09 02:20:54 +02:00
Marcus
1de41447b6
Remove observer for now (#34)
* Add case for when component is not found in archetype

* Check only destination archetype first

* Omit onNotifyAdd

* Remove observers
2024-05-08 01:04:11 +02:00
Marcus
91d3fcabc3
Add case for when component is not found in archetype (#25)
* Add case for when component is not found in archetype

* Check only destination archetype first

* Omit onNotifyAdd
2024-05-08 00:57:22 +02:00
Marcus
e8b78f7b50
Add world.delete (#22) 2024-05-07 21:33:42 +02:00
Marcus
bf5908a8f5
Adds symmetic and idempotent function add (#26)
* Adds symmetic function add

* Should be componentId not entityId
2024-05-07 21:32:56 +02:00
Marcus
887c892c2e
Move root archetype (#33) 2024-05-07 21:30:36 +02:00
alicesaidhi
517dbb99c0
Add svg images (#18)
* svg logo

* fix light mode

* Create logo_old.png
2024-05-07 18:37:14 +02:00
Marcus
d5414f1bc4
Add iter method (#20) 2024-05-05 15:22:02 +02:00
Ukendio
7cb610b097 Update mirror 2024-05-05 15:06:57 +02:00
Ukendio
7ad1ef37f0 Add exhaustive benchmarks for operations 2024-05-05 03:45:38 +02:00
Ukendio
5476491c5d Should index into column 2024-05-05 03:25:34 +02:00
Marcus
c0854e960e
Move benchmarks (#28)
* Update mirror

* Remove matter from main
2024-05-05 02:48:34 +02:00
howmanysmall
283243350f
Fix style and add some micro optimizations (#27) 2024-05-05 01:52:01 +02:00
Michael
cda04ce5a9
Update newMatter.lua (#19)
* Update newMatter.lua

* Update newMatter.lua

* Update newMatter.lua
2024-05-03 18:14:45 +02:00
Ukendio
c5daddd505 Increment component id 2024-05-03 15:31:16 +02:00
Ukendio
21f71f803d Fix mispelling 2024-05-03 14:45:48 +02:00
Ukendio
fbc5317cb0 Add banner 2024-05-03 14:45:11 +02:00
Michael
ad8f4ae660
Update newMatter.lua to match world-rewrite branch (#16)
* Update newMatter.lua to match world-rewrite branch

* Update newMatter.lua
2024-05-03 11:50:52 +02:00
Marcus
089c5d46a9
Fix component overriding when in disorder (#15)
* Fix component overriding when in disorder

* Add benchmarks

* Should use same data
2024-05-03 02:39:59 +02:00
Shane
e5e1aec6b2
Update README.md example and remove trailing whitespace (#14) 2024-05-02 15:33:31 +02:00
Ukendio
0a70e7887b Bump wally version 2024-05-01 15:58:15 +02:00
Ukendio
14d53e03c1 Index indices after archetype matched 2024-05-01 15:16:39 +02:00
Ukendio
14507ac775 Merge branch 'main' of https://github.com/Ukendio/jecs 2024-05-01 14:43:05 +02:00
Ukendio
d4d2f1fdb9 Add testkit 2024-05-01 14:41:51 +02:00
Marcus
9c5a84e3af
Cache column indices instead of pointers (#13) 2024-05-01 14:41:10 +02:00
Shane
d0fb1a1b1d
return an EmptyQuery when querying for components that are not tied to any entities (#12)
* Update init.lua

* export Query type

* replace EmptyQuery with static reference
2024-05-01 03:45:49 +02:00
Shane
1b1ae947d9
export Query type 2024-04-30 16:55:48 -07:00
Shane
e2d1156f72
Update init.lua 2024-04-30 16:45:42 -07:00