Commit graph

567 commits

Author SHA1 Message Date
Ukendio
ebc916c7ef Remove redundant TODO 2024-07-03 02:13:35 +02:00
Ukendio
ec833464a5 Add parent method 2024-07-03 02:10:16 +02:00
Ukendio
b8f35ccb85 Change variable names and style 2024-07-03 02:10:11 +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
Ukendio
0f67cb1c86 tuple isnt optional 2024-07-02 14:20:35 +02:00
Ukendio
0256c765a0 Drainless iterators 2024-07-02 12:53:33 +02:00
Ukendio
0ff2348a6e Uniform function declarations 2024-06-26 15:50:00 +02:00
Ukendio
6b4597ab96 Remove allocations per compatible archetype to optimize fragmented iterations 2024-06-26 11:51:49 +02:00
Ukendio
bc43ee336b Freeze the world inside export declaration 2024-06-25 01:44:27 +02:00
Marcus
c95bc2a582
Update benchmarks (#55)
* Update bench.project.json for luau files

* Stress test insertion
2024-06-24 19:02:27 +02:00
Marcus
6a507d35ea
Update README.md 2024-06-24 04:08:57 +02:00
Marcus
d4be467c6c
Rename files to luau (#54)
* Rename files to luau

* Rename remaining files
2024-06-24 03:20:43 +02:00
Kalrnlo
f852ca9a88
Cleanup functions and add missing types (#53)
* update

* Cleanup functions and add missing types

* Replace 0x10 with ECS_ID_FLAGS_MASK

* Fixes
2024-06-24 03:01:55 +02:00
Ukendio
1d7fe3d93a Separate query 2024-06-24 01:30:59 +02:00
Ukendio
eae51988a9 Update benchmarks image 2024-06-22 01:08:51 +02:00
Ukendio
5bd43bddd4 Add queryNext 2024-06-22 00:15:03 +02:00
EncodedVenom
ea12df96a4
Add Typescript Types (#51)
* Add package.json, tsconfig.json, and change gitignore

* Typescript Types

* Make World a single class, refactor of all query types

* Fix InferComponents types due to typo / misunderstanding

* Bump dependencies

* Fix get type to include undefined and add documentation

* Remove non-user facing types

* Rename PossiblyUndefinedPack -> Nullable

* Some changes to how EntityIndex is handled

* Consistent formatting

* Remove EntityIndex related type definitions

* Match API

* Doc comments
2024-06-15 22:03:04 +02:00
Ukendio
1344398ffe Fix types 2024-06-15 20:03:12 +02:00
Marcus
c3d745a88b
Create LICENSE 2024-06-11 21:06:27 +02:00
Ukendio
1553362014 Please the type solver overlord 2024-06-11 01:39:43 +02:00
Ukendio
a62cb370cf Everything are entities! 2024-06-09 23:58:01 +02:00
Ukendio
818dfdd216 Low foot print ids 2024-06-06 00:38:27 +02:00
Marcus
63f40a22c0
Add Types (#21)
* Add Types

* Fix return type of without

* implement types

* make types more specific

* reduce query to 10 generics

* Remove second type pack

---------

Co-authored-by: alice <166900055+alicesaidhi@users.noreply.github.com>
2024-06-05 23:34:24 +02:00
Ukendio
e6260541c3 Merge branch 'main' of https://github.com/Ukendio/jecs 2024-05-27 20:09:25 +02:00
Ukendio
05d61bd6da Fix doc 2024-05-27 20:09:22 +02:00
Marcus
1498a28c3f
Update world.md 2024-05-27 11:46:42 +02:00
Ukendio
94cc3ee8ea Fix links 2024-05-27 11:45:41 +02:00
Ukendio
3d689ebdd8 Fix links 2024-05-27 11:33:59 +02:00
Ukendio
c0594c7e75 Fix docs 2024-05-27 03:50:46 +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
Marcus
f1ba9c4a55
Update README.md 2024-05-24 02:58:33 +02:00
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