Commit graph

825 commits

Author SHA1 Message Date
Christopher Buss
fc80d631ab
Fix main entry point in package.json (#303)
Some checks failed
analysis / Run Luau Analyze (push) Has been cancelled
build-studio-docs / Build Studio Docs (push) Has been cancelled
publish-npm / publish (push) Has been cancelled
unit-testing / Run Luau Tests (push) Has been cancelled
2026-02-03 13:38:05 +01:00
Ukendio
fd124d682d Use type functions for query 2026-01-30 01:47:31 +01:00
Christopher Buss
2c21c79510
Add ECS_ID and ECS_GENERATION types (#298) 2026-01-30 00:14:02 +01:00
Christopher Buss
c9b3362a9c
Add DEBUG parameter to world typings (#297) 2026-01-29 23:58:33 +01:00
cay
be74de6b3e
Fix typo in GetRect examples (#296) 2026-01-26 18:19:17 +01:00
Ukendio
d02283ed20 Animate takes down rate too 2026-01-26 04:33:47 +01:00
Ukendio
bee25e8d90 blend facctor shoudl use tau 2026-01-26 04:33:03 +01:00
Ukendio
603f284067 Fix spelling errors 2026-01-26 04:32:05 +01:00
Ukendio
a2e6c0aafa New modules with examples! 2026-01-26 04:29:24 +01:00
Ukendio
2f2ce3541d Revert 2026-01-22 17:47:44 +01:00
Ukendio
c86ba1e264 Fix is_tag and types 2026-01-20 00:56:20 +01:00
Ukendio
7246f3d8a8 Fix bug with ternary operator for component valus that can be false 2026-01-20 00:56:00 +01:00
Ukendio
3dab729df8 Add docs for the preregister functions 2026-01-03 17:33:47 +01:00
Ukendio
f463cc9229 Add some documentation to the exported functions 2026-01-03 17:27:36 +01:00
PepeElToro41
1e7d957a5b
Fix entities with pairs of non delete policies
* fix world_delete clearing archetype entities before proper cleanup

* make changes
2026-01-02 07:55:59 +01:00
Magic
e494c35b78
Automatically build a rbxm of documentation for Studio users (#287)
* Add types for (Cached)Query.has (#286)

* ts type update

* changed to hard tabs

* reverted back to old formatting for some

* more fixes

* only keep query has

* Build studio docs

* Fix the nightly.link

* Make the nightly.link work for the main Jecs repo, rename the workflow

* Add alias resolution

* Artifacts expire, run the action every month

* Add deleted flag to removed handler typings (#288)

* update types

* change "StatefulHook" to "HookWithData" and "StatelessHook" to "HookWithDeleted"

* Update deleted flag type

---------

Co-authored-by: maeriil <104389763+maeriil@users.noreply.github.com>
Co-authored-by: m10 <165406716+mrkboy10@users.noreply.github.com>
Co-authored-by: Marcus <ukendio@gmail.com>
2026-01-02 06:41:05 +01:00
Ukendio
64f8750f3c Add missing delete parameter in types for OnRemove 2026-01-02 06:38:16 +01:00
Ukendio
7f3946736b Fix desired id being overriden 2026-01-02 06:32:59 +01:00
alicesaidhi
0d3f1bd3aa
introduce tests for specific cases (#291) 2026-01-02 04:11:02 +01:00
Ukendio
74a97bc54e Add types for DEBUG parameter 2025-12-28 12:37:13 +01:00
Ukendio
d5c9abc57f Document delete flag in OnRemove hooks 2025-12-28 12:35:08 +01:00
Ukendio
e4b12f4a28 check cascaded deletion for structural changes within onremove hooks 2025-12-28 12:21:45 +01:00
Ukendio
5208aa7749 Fix tmp references 2025-12-28 11:41:45 +01:00
Ukendio
ef4d880b0a Add DEBUG mode with special assertions 2025-12-28 11:08:51 +01:00
Ukendio
e4d0fb447d Handle recursive race condition 2025-12-21 20:30:55 +01:00
Ukendio
aa63051db3 Optimize idr_r removal by 35% 2025-12-21 19:33:13 +01:00
Ukendio
3ebb2334da Should be able to delete every archetype that is iterated 2025-12-21 19:08:55 +01:00
Ukendio
f543c06462 Fix invalidated archetype before invoking onremove hooks 2025-12-21 17:04:48 +01:00
Ukendio
81792fe314 Revert to example 2025-12-19 07:13:29 +01:00
Ukendio
4db44476a9 Only delete archetypes when completely invalidated 2025-12-19 07:10:12 +01:00
Madison
007097b791 Correct Cleanup example: Change OnSet to OnAdd (#289)
* Correct Cleanup example: Change OnSet to OnAdd

`jecs.OnSet` no longer exists. This should be `jecs.OnAdd` instead, which does exist.

* Clarify OnAdd hook in cleanup.luau

Add comment to clarify OnAdd hook behavior
2025-12-16 22:33:48 +01:00
m10
df454c75a3 Add deleted flag to removed handler typings (#288)
* update types

* change "StatefulHook" to "HookWithData" and "StatelessHook" to "HookWithDeleted"

* Update deleted flag type
2025-12-16 22:33:48 +01:00
maeriil
fbc4f0f3aa Add types for (Cached)Query.has (#286)
* ts type update

* changed to hard tabs

* reverted back to old formatting for some

* more fixes

* only keep query has
2025-12-16 22:33:48 +01:00
Ukendio
b3d3a2bcdd Fix types 2025-12-16 22:30:05 +01:00
Ukendio
197a57b28b Fix docs 2025-12-16 22:22:26 +01:00
Ukendio
18b72149c7 Move benches under test 2025-11-30 09:05:29 +01:00
Ukendio
8e06781be6 Replace demo with advanced examples 2025-11-30 08:59:16 +01:00
Ukendio
553cb89b10 Clarify that you need to clone the repo 2025-11-30 08:23:51 +01:00
Ukendio
4583138570 Fix alias paths 2025-11-30 08:19:28 +01:00
Marcus
ee3aa35cc4
Delete package-lock.json 2025-11-30 08:14:28 +01:00
Ukendio
d86dff4bfe Cleanup repository 2025-11-30 08:13:31 +01:00
Ukendio
8ef122ccb4 Make bullet points 2025-11-30 08:12:36 +01:00
Ukendio
808f37aa10 Clarify the Get Started section 2025-11-30 08:10:38 +01:00
Ukendio
46ea49d4f4 Update README 2025-11-30 08:09:12 +01:00
Ukendio
fa81bc10b7 Remove obsolete files 2025-11-30 07:57:52 +01:00
Ukendio
b8c0cc0010 Replace docs site with luau files 2025-11-30 07:56:31 +01:00
Ukendio
4123fa01ad Fix aliased paths 2025-11-28 03:24:40 +01:00
Ukendio
c24b1d29fd Install luau via rokit 2025-11-28 03:22:24 +01:00
Ukendio
73fd3dd858 Add more tests and fix edge cases with pairs 2025-11-22 23:51:17 +01:00
Ukendio
be91369664 Update CI 2025-11-22 19:59:56 +01:00