Ukendio
26e489e2d5
Adds skip
2024-07-14 02:33:01 +02:00
Marcus
45adef066d
Fixed regression in Without ( #72 )
...
* Return empty query when Without removes all archetypes
* Type replace callback as Any
* Add test with ChangeTracker
2024-07-13 04:32:31 +02:00
EncodedVenom
706eded24f
Add null query unit tests ( #69 )
...
* Add null query unit test
* Add unit test
* Update unit tests
* Remove __iter from already tested case
2024-07-08 15:51:34 +02:00
Marcus
0fe23e151c
Add replace method to query ( #46 )
...
* Add replace function
* Add next method
* Remove tostring
* Fix EmptyQuery
* add replace method
* merge conflicts
* return self in without
* Make aliases relative
* Add test
* add to changelog
2024-07-07 04:53:17 +02:00
Ukendio
60c6177815
Add luaurc
2024-07-06 23:30:14 +02:00
Marcus
c0e73273d1
Add backwards iteration ( #61 )
...
* Iterate backwards
* Should test for removing as well
* Add test
* Add faíling test
* Add to changelog
2024-07-06 16:36:00 +02:00
Ukendio
b4a1db871e
Change test to use built in component
2024-07-03 02:46:54 +02:00
Marcus
5ff6a43750
Add clear ( #59 )
...
* Rename files to luau
* Rename remaining files
* Update bench.project.json for luau files
* Stress test insertion
* Add clear
* Add a few guards
* Use next() in World.__iter
* Add tests
2024-07-03 01:24:17 +02:00
Marcus
d4be467c6c
Rename files to luau ( #54 )
...
* Rename files to luau
* Rename remaining files
2024-06-24 03:20:43 +02:00
Ukendio
818dfdd216
Low foot print ids
2024-06-06 00:38:27 +02:00
Marcus
0567856a59
Add docs ( #45 )
...
* Initial commit
* Add section for standalone
* Fix docs
* Add pages to docs
* Remove redundant files
2024-05-27 03:39:20 +02:00
Ukendio
6c2f47bf70
Add todo
2024-05-17 01:05:40 +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
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
87711eff19
Register components as entities
2024-05-10 20:35:41 +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
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
d5414f1bc4
Add iter method ( #20 )
2024-05-05 15:22:02 +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
Marcus
9c5a84e3af
Cache column indices instead of pointers ( #13 )
2024-05-01 14:41:10 +02:00