Commit graph

541 commits

Author SHA1 Message Date
Ukendio
ed3b2ae35d Bump
Some checks are pending
Analysis / Run Luau Analyze (push) Waiting to run
Deploy VitePress site to Pages / build (push) Waiting to run
Deploy VitePress site to Pages / Deploy (push) Blocked by required conditions
Unit Testing / Run Luau Tests (push) Waiting to run
2024-12-26 07:05:20 +01:00
Ukendio
b2fc046ef0 Changed Pair type 2024-12-26 07:04:40 +01:00
Marcus
ec4fa3ff3e
Add cached queries (#166)
* Initial commit

* Add tests

* Dedup observers

* Handle filters on table creation

* Handle Archetype deletion

* Remove print

* Fix type errors

* Cleanup code

* Manually inline code

* Build terms for cached queries

* Specialized cached query iterator

* Remove shadowed variable

* Inverse statement

* Rework demo

* Fix metatable

* Use generalized iteration
2024-12-26 06:15:41 +01:00
Marcus
0f2e0eba76
Initial commit (#167)
Some checks are pending
Analysis / Run Luau Analyze (push) Waiting to run
Deploy VitePress site to Pages / build (push) Waiting to run
Deploy VitePress site to Pages / Deploy (push) Blocked by required conditions
Unit Testing / Run Luau Tests (push) Waiting to run
2024-12-26 01:06:14 +01:00
Marcus
eaafd27280
Add support for components in both positions of pairs (#164)
Some checks are pending
Analysis / Run Luau Analyze (push) Waiting to run
Deploy VitePress site to Pages / build (push) Waiting to run
Deploy VitePress site to Pages / Deploy (push) Blocked by required conditions
Unit Testing / Run Luau Tests (push) Waiting to run
* Add support for components in both positions of pairs

* Export type function

* Rework query types
2024-12-24 22:39:32 +01:00
Marcus
ee9bc6a775
Remove stylua (#163)
* Add support for components in both positions of pairs

* Remove stylua workflow!

* remove file
2024-12-24 22:38:25 +01:00
Ukendio
7c025a3782 Fix linting errors from debug.info
Some checks failed
Analysis / Run Luau Analyze (push) Has been cancelled
Deploy VitePress site to Pages / build (push) Has been cancelled
Styling / Run Stylua (push) Has been cancelled
Unit Testing / Run Luau Tests (push) Has been cancelled
Deploy VitePress site to Pages / Deploy (push) Has been cancelled
2024-12-21 22:08:46 +01:00
Ukendio
02cb4ad7a2 Prevent iterator invalidation in world:each
Some checks are pending
Analysis / Run Luau Analyze (push) Waiting to run
Deploy VitePress site to Pages / build (push) Waiting to run
Deploy VitePress site to Pages / Deploy (push) Blocked by required conditions
Styling / Run Stylua (push) Waiting to run
Unit Testing / Run Luau Tests (push) Waiting to run
2024-12-21 06:51:48 +01:00
Marcus
4841915af3
Specialized method to find entities with a single ID (#165)
Some checks are pending
Analysis / Run Luau Analyze (push) Waiting to run
Deploy VitePress site to Pages / build (push) Waiting to run
Deploy VitePress site to Pages / Deploy (push) Blocked by required conditions
Styling / Run Stylua (push) Waiting to run
Unit Testing / Run Luau Tests (push) Waiting to run
* Initial commit

* Export query functions to make Michael happy

* Adding trailing commas
2024-12-20 13:08:50 +01:00
maeriil
d9be40d2ca
resolves requiring ecs path issue for demo (#160) 2024-11-30 06:11:17 +01:00
Ukendio
dec958b058 Update changelog 2024-11-23 20:52:01 +01:00
Ukendio
042903df93 Fix entity type 2024-11-23 20:50:31 +01:00
Ukendio
46147cc9f9 Remove upvalues 2024-11-23 20:50:15 +01:00
Ukendio
727cc93a7d Update workflows 2024-11-23 04:47:12 +01:00
Ukendio
24ccd2cc98 Bump 2024-11-23 04:46:03 +01:00
Ukendio
b7a5785dbb Cleanup repository 2024-11-23 04:42:54 +01:00
Ukendio
dacec22efa Stylua shenanigans 2024-11-23 00:49:10 +01:00
Ukendio
adf09d2412 Add trailing comma to type 2024-11-22 23:07:58 +01:00
Ukendio
95d6a6f398 Merge branch 'main' of https://github.com/Ukendio/jecs 2024-11-22 23:06:27 +01:00
Ukendio
1dd108401f Merge Archetype with its node interface 2024-11-22 23:06:17 +01:00
Christopher Buss
8c90749c39
fix(ci): stylua ci failing (#158) 2024-11-22 22:14:10 +01:00
Ukendio
59abdcbe6f Fix type error on World.add in debug mode 2024-11-21 04:13:12 +01:00
Ukendio
78127d73e9 Update jabby code 2024-11-21 04:12:36 +01:00
Ukendio
9ce28b999f Merge branch 'main' of https://github.com/Ukendio/jecs 2024-11-20 18:28:44 +01:00
Ukendio
166e572815 Add comma 2024-11-20 18:28:36 +01:00
ChinoUkaegbu
46f99a5e2b
Fix typos in docs (#151)
* fix typos in docs

* Update component-traits.md
2024-11-17 21:05:20 +01:00
Ukendio
39490eef99 Merge branch 'main' of https://github.com/Ukendio/jecs 2024-11-17 19:06:48 +01:00
Ukendio
9a98c6508a Bump 2024-11-17 19:06:40 +01:00
EncodedVenom
3cde5c8152
Create dependabot.yml 2024-11-16 21:16:23 -05:00
EncodedVenom
638272bfcf
Update unit-testing.yaml 2024-11-16 16:38:42 -05:00
EncodedVenom
12236022c2
Update unit-testing.yaml 2024-11-16 16:20:16 -05:00
EncodedVenom
395465d7c9
Update unit-testing.yaml 2024-11-16 16:18:22 -05:00
EncodedVenom
0108c6ffc6
Pin luau version to 0.651 2024-11-16 16:14:12 -05:00
Ukendio
ea7c118db6 Entity defaults to Tag 2024-11-16 19:16:51 +01:00
Ukendio
5de3f7dd15 Remove typeof 2024-11-16 18:07:12 +01:00
Ukendio
a5747a6145 Add newline 2024-11-16 18:05:45 +01:00
Ukendio
bacda3c2e8 Use ecs_pair_first 2024-11-16 18:05:17 +01:00
Ukendio
eb315067f5 Fast paths on entity_index_try_get for user facing api 2024-11-16 17:25:57 +01:00
Ukendio
0ab66f416d Correct indentation on numbers 2024-11-16 17:12:12 +01:00
Ukendio
bab4065a1e Merge branch 'main' of https://github.com/Ukendio/jecs 2024-11-16 17:11:33 +01:00
Ukendio
902809b514 Fix check in debug mode 2024-11-16 17:11:24 +01:00
metrowaii
03389e5189
Removed redundant guard (#157) 2024-11-15 06:29:13 +01:00
Ukendio
c7ca63337b 0.4.0-rc.0 2024-11-14 21:11:23 +01:00
Ukendio
a3ff4e3fa0 Bump 2024-11-14 16:46:12 +01:00
Ukendio
a850d0b704 fast access to record 2024-11-14 16:45:47 +01:00
Ukendio
8a03dd2c39 Add trailing comma 2024-11-14 03:43:56 +01:00
Ukendio
9066611373 Fix ECS_GENERATION_INC 2024-11-14 03:39:46 +01:00
Ukendio
b40af9fe9d Fix generation increment overflowing id 2024-11-14 03:38:27 +01:00
Ukendio
ceb7ea9866 Fix typings of exported pair function 2024-11-14 02:22:28 +01:00
Marcus
303bd4ed16
Entity recycling (#156)
* Merge

* Initial commit

* Fix indentations

* Remove sparse_count

* Add whiteline

* return 0 instead

* Add check for friend existing

* Force inlining

* Manual inlining
2024-11-13 20:05:01 +01:00