Commit graph

550 commits

Author SHA1 Message Date
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
Marcus
4978ac7856
Separate ids and add tests (#11) 2024-05-01 01:09:15 +02:00
Marcus
275aa6ec6d
Move assertion up (#9) 2024-04-30 17:52:44 +02:00
Marcus
2ace031fa2
Provide better error messages (#7)
* Provide better error messages

* Inline getSmallestMap
2024-04-30 16:36:38 +02:00
Marcus
6adc3670ee
Revert "nil return for getSmallestMap() (#5)" (#8)
* Revert "nil return for getSmallestMap() (#5)"

This reverts commit 12287b12ef.

* Keep export world
2024-04-30 16:21:21 +02:00
Shane
12287b12ef
nil return for getSmallestMap() (#5)
* nil return for getSmallestMap()

* World type export
2024-04-30 16:06:46 +02:00
Marcus
dc73c03d74
Swap entity index for last row (#6) 2024-04-30 16:05:31 +02:00
Marcus
8ef960dad6
Add without (#4)
* Add without

* Return self

* Set compatibleAchetype after without

* Add test for Without

* Adding test
2024-04-29 15:21:05 +02:00
Marcus
13c703211d
Add without (#3) 2024-04-28 21:00:00 +02:00
Marcus
b75dc91a6a
Merge pull request #1 from Ukendio/add-observers
Add observers
2024-04-28 16:48:41 +02:00
Ukendio
8223b7ae91 Add observers 2024-04-28 16:46:40 +02:00
Ukendio
201383dcac Remove ROOT_ARCHETYPE in world initializer 2024-04-26 19:11:54 +02:00
Ukendio
ffca213183 Add description to benchmark 2024-04-26 00:10:34 +02:00
Ukendio
c532f55588 Bump wally version 2024-04-26 00:10:23 +02:00
Ukendio
3816777724 Include ECR in benchmark 2024-04-25 16:41:41 +02:00
Ukendio
44e6813cfb Remove mirror from benchmark example 2024-04-25 16:37:01 +02:00
Ukendio
74fe5be0c0 Index into archetypemap 2024-04-25 16:26:30 +02:00
Ukendio
b1626a9be0 Add mirror 2024-04-25 07:26:38 +02:00
Ukendio
33192b7a6f Remove hard coded behaviour 2024-04-25 07:26:13 +02:00
Ukendio
7d48063d20 Cache indices 2024-04-25 07:17:08 +02:00
Ukendio
915ff50e35 Update benchmark 2024-04-25 05:55:11 +02:00
Ukendio
d3ea6340ce More benchmarks 2024-04-25 05:48:22 +02:00
Ukendio
78775d19a3 Get smallest map 2024-04-25 05:45:33 +02:00
Ukendio
37d5b0415a Handle 8 cases 2024-04-24 22:33:38 +02:00
Ukendio
fb47f87bd4 Fix typings 2024-04-24 20:00:33 +02:00
Ukendio
970091f9a9 Merge branch 'main' of https://github.com/Ukendio/jecs 2024-04-24 17:32:31 +02:00
Ukendio
e90efbc342 Rename operation add to set 2024-04-24 17:32:07 +02:00
Marcus
9cc1acdf22
Fix image path 2024-04-24 09:34:09 +02:00
Ukendio
c2bf8bf346 Add image 2024-04-24 02:24:34 +02:00
Ukendio
4dc24677c7 Remove text 2024-04-24 02:23:31 +02:00
Ukendio
b2dfe98e94 Comparison with Matter 2024-04-24 02:23:15 +02:00
Ukendio
a5302a14fb Creator specific iterators for returns 2024-04-24 01:14:43 +02:00
Ukendio
a6b592727e Add wally tags 2024-04-23 18:38:12 +02:00
Ukendio
66e4c6952b README 2024-04-23 18:12:46 +02:00
Ukendio
7e419d4fd1 Extend columns in queryOutput 2024-04-23 17:30:26 +02:00
Ukendio
1fa459ff71 Publish paper 2024-04-23 17:20:33 +02:00
Ukendio
6cafbc1221 Rebase 2024-04-23 17:10:49 +02:00