Commit graph

391 commits

Author SHA1 Message Date
Ukendio
d6179637af Collapse ORs 2024-08-31 05:02:09 +02:00
Marcus
f91ab4049f
Docs addons (#112)
* Fix indentations

* Add addons page

* Fix indent
2024-08-31 04:13:47 +02:00
Ukendio
4f65be279b Bump 2024-08-30 19:20:16 +02:00
Marcus
c37bc3c440
Add EcsOnDelete support (#111)
* Add EcsOnDelete support

* Shrink mask

* Add indentation for flags

* Rename page

* Add page to items

* IDs should be plural

* Polish changelog

* Cleanup action Remove is default
2024-08-30 19:19:20 +02:00
Ukendio
5cade93cbd Fix remote 2024-08-30 01:20:09 +02:00
Ukendio
8bb86760cd Bump 2024-08-30 01:19:22 +02:00
Ukendio
012c4accf1 Merge branch 'main' of https://github.com/Ukendio/jecs 2024-08-30 01:19:03 +02:00
Ukendio
ff788a1235 Add debugger check 2024-08-30 01:18:42 +02:00
Magic
5b163a29c1
Expose world:contains() and query:drain() in types (#110)
* chore: Expose world:contains and query:drain in types

* chore: Actually expose query:drain(), ?

* chore: Document these and previous changes in CHANGELOG.md

* fix: Fix type of world:has() to explicitly take in an entity
2024-08-29 23:36:34 +02:00
Ukendio
17415f27f3 Add start 2024-08-29 18:56:50 +02:00
Ukendio
e7bbf08713 Add jabby to demo 2024-08-29 15:45:49 +02:00
Ukendio
f5a8fc2192 Fix CI 2024-08-29 15:45:25 +02:00
Ukendio
d427764295 Bump 2024-08-29 15:43:29 +02:00
Magic
bfb3db272a
Allow functions to accept any ID including pairs in type parameters (#109) 2024-08-28 19:42:01 +02:00
Marcus
3dd0bd30cd
Add EcsTag (#108)
* Add EcsTag

* Add tests
2024-08-28 19:26:57 +02:00
Magic
ff98e8b5fb
fix: OnAdd, OnRemove and OnSet were typed as Entity<any> rendering them unusable with strict types (#107) 2024-08-28 10:12:04 +02:00
Ukendio
64bc3bfe7e Merge branch 'main' of https://github.com/Ukendio/jecs 2024-08-27 21:31:01 +02:00
Ukendio
f482264e3e Migrate to Rokit for CI 2024-08-27 21:30:44 +02:00
Ukendio
802775ccbb Bump wally 2024-08-27 21:28:04 +02:00
Ukendio
8d83bd6322 Update scheduler 2024-08-27 21:27:26 +02:00
Ketasaja
a54928ee03
Avoid unused variable warnings (#91) 2024-08-24 01:50:22 +02:00
Ukendio
dcfa34df4e CHange Transform to struct 2024-08-21 21:29:17 +02:00
Marcus
f220b95d2f
Add scheduler to demo (#106)
* Add example to make scheduler with phases

* Add more builtin phases
2024-08-21 17:57:40 +02:00
Marcus
3d8d71b48d
Update README.md 2024-08-21 03:20:44 +02:00
Ukendio
012779eb08 Remove dead code in Scheduler example 2024-08-21 02:15:10 +02:00
Ukendio
ecdbe2d8ed Add tests for scheduler example 2024-08-21 01:59:25 +02:00
Ukendio
3b79717556 Merge branch 'main' of https://github.com/Ukendio/jecs 2024-08-19 17:42:19 +02:00
Ukendio
731dce1ec0 Add commits to changelog 2024-08-19 17:42:03 +02:00
EncodedVenom
e2a5548758
docs: fix next/last page issues (this fix is dumb) 2024-08-19 16:25:00 +01:00
Ukendio
f302fad3b6 Fix types in export 2024-08-18 16:46:52 +02:00
Ukendio
f2d6d76686 Fix file paths 2024-08-17 02:38:00 +02:00
Ukendio
57893b9244 Bump to v0.2.9 2024-08-17 02:28:23 +02:00
Marcus
4e5a40f75b
Fix hooks not notifying (#103)
* Fix world_has_any checking for inverse statement

* invoke onAdd for set
2024-08-17 01:10:35 +02:00
Marcus
6d45af93f0
Add OnDeleteTarget (#102) 2024-08-16 19:13:30 +02:00
Ukendio
461c3f6862 Remove comment section 2024-08-14 18:53:24 +02:00
Marcus
6d6cc37a25
Add bit flags to id_record (#101)
* Add bit flags to id_record

* set should not invoke OnAdd
2024-08-14 17:18:05 +02:00
Ukendio
33f359a150 Handle cycles in deletion 2024-08-14 01:15:04 +02:00
Ukendio
49d5bd0d4a optimize bulk remove 2024-08-13 21:23:40 +02:00
Ukendio
c22007671d Expose EcsDelete 2024-08-13 21:17:49 +02:00
Ukendio
d4fbc409bf Add visual benchmark for delete 2024-08-13 21:06:49 +02:00
Ukendio
8dd53b8c2a optimize deletion 2024-08-13 20:58:07 +02:00
Ukendio
735eb01526 Initial commit 2024-08-13 20:08:58 +02:00
Ukendio
0b9d9530b9 Fix types for iter 2024-08-12 22:43:46 +02:00
EncodedVenom
d4d5af1211
Update entities-and-components.md
Fix a typo
2024-08-12 14:14:04 +01:00
Michael
3de4789c03
Avoid recomputing column size (#100) 2024-08-12 15:05:40 +02:00
EncodedVenom
aa21b5ee47
Sync TS types 2024-08-12 13:36:48 +01:00
EncodedVenom
f97b9f163d
fix label on feat request template 2024-08-12 13:27:29 +01:00
EncodedVenom
f3c5d8f4cb
add docs issue template 2024-08-12 13:01:20 +01:00
Ukendio
f7d8d71d26 bump to patch 2024-08-11 15:05:01 +02:00
Ukendio
a9109ee816 bump wally 2024-08-11 15:03:48 +02:00