Commit graph

431 commits

Author SHA1 Message Date
EncodedVenom
2458785316
Hopefully better parsing 2024-10-19 19:26:28 -04:00
EncodedVenom
4b2f6a5934
Update analysis.yaml 2024-10-19 19:16:21 -04:00
EncodedVenom
4c9c1a50ce
Testing warning labels 2024-10-19 19:05:11 -04:00
EncodedVenom
b1bc689cbd
Update analysis.yaml
Should make it warn instead of error.
2024-10-19 18:52:16 -04:00
Mark Marks
d7a4d2e98a actions: Separate styling and analysis into different workflows 2024-10-20 00:46:35 +02:00
Mark Marks
faca8ae90a ci: Add luau-analyze step 2024-10-20 00:18:52 +02:00
Lucas
d6f4d782a2
docs: fix syntax in ts example (#146) 2024-10-15 02:03:13 +02:00
Christopher Buss
de56723f07
fix: remove json trailing comma (#145) 2024-10-13 22:37:11 +02:00
Christopher Buss
0eb288e057
style: fix inconsistent project formatting (#144)
Closes #138
2024-10-12 22:18:11 +02:00
Ukendio
1b50fa379d Fix dead links 2024-10-12 22:15:48 +02:00
Ukendio
f82318c642 Merge to main branch 2024-10-12 22:06:31 +02:00
Ukendio
a42c94832c Update changelog 2024-10-12 22:04:32 +02:00
Ukendio
d4be55ead0 Add tests for hooks 2024-10-12 22:01:08 +02:00
Ukendio
76ab6838f2 query:archetypes is a method 2024-10-12 22:00:51 +02:00
Marcus
c5e20aaf50
Reuse archetype_delete on world:clear (#141)
* Reuse archetype_delete on world:clear

* Add tests
2024-10-12 21:55:24 +02:00
Magic
11f9615495
fix: query:archetypes() didnt take self in type (#143) 2024-10-12 17:04:49 +02:00
juste
6359701a69
Update ts type definitions (#142)
* updated typescript types

* add prettier
2024-10-12 03:45:37 +02:00
Ukendio
2e246e1e7a Add cleanup to types 2024-10-09 00:54:22 +02:00
Ukendio
270260cb70 move out attributes 2024-10-06 05:43:20 +02:00
Ukendio
bf4904fbc7 Resize logo smaller 2024-10-06 05:42:41 +02:00
Ukendio
3fcad85593 Change logo 2024-10-06 05:42:18 +02:00
silly-spongus
106dc42128
Improvements to "world" api documentation (#128)
* Improvements to "world" api documentation

I've tried to do several improvements to the api documentation by including the methods such as `delete`, `remove` and `clear` + added more extensive examples for some things

Please tell me if there's anything that needs to be corrected

* Update world.md

* Update world.md

* Update world.md

* Update world.md
2024-10-06 03:40:26 +02:00
silly-spongus
9a0a578acd
Improvements to "Query" API Docs (#130)
* Improvements to "Query" API Docs

Minor improvements, but mostly made this fit more with the PR i made for World

* Update query.md

* Update query.md
2024-10-06 03:39:47 +02:00
Marcus
c80bb0e2fd
Add tests for archetypes (#139)
* Add stylua

* Align HI_COMPONENT_ID
2024-10-06 03:36:36 +02:00
EncodedVenom
1e633d4563
Update ci.yaml (#140)
* Update ci.yaml

* Update ci.yaml

* Create lint.yml

* Update ci.yaml

* Update lint.yml
2024-10-06 03:36:07 +02:00
Ukendio
39e7c235bb Remove redundant checks 2024-10-05 02:02:33 +02:00
Marcus
c288a5fab5
Remove drain and next (#136) 2024-10-04 23:55:22 +02:00
Ukendio
e2f25137a2 Bump to 0.3.2 2024-10-02 23:07:19 +02:00
Ukendio
fd480f7f10 bump 2024-10-02 22:59:33 +02:00
Ukendio
9d3b12e1fe Cast refs to GraphEdge 2024-10-02 22:49:05 +02:00
Ukendio
ca3cc06400 Traverse refs for deletion 2024-10-01 17:30:51 +02:00
Ukendio
8aace714fc Bump to 0.3.1 2024-10-01 14:01:25 +02:00
Axen
a090dd7a73
Remove world:target debug error (#137)
* Removed error about needing `index` in `world:target`

* The `index` parameter was made optional in #131

* Re-added `world.target` wrapper

* Remove world.target and world.remove wrappers

---------

Co-authored-by: EncodedVenom <32179912+EncodedVenom@users.noreply.github.com>
2024-09-30 00:05:19 +02:00
Ukendio
a7fb67b85e Merge branch 'main' of https://github.com/Ukendio/jecs 2024-09-29 06:07:55 +02:00
Ukendio
f0e4dc8be6 Add more examples 2024-09-29 05:36:21 +02:00
vnnh
d6932ff80e
Fix typo with archetype_traverse_remove (#135) 2024-09-29 03:34:32 +02:00
vnnh
c4deb715fa
Fix world:set type (#134) 2024-09-28 20:13:23 +02:00
Ukendio
6def84e8d9 Precompute hashed type 2024-09-27 11:47:01 +02:00
Ukendio
73147f3fef Update Matter's time 2024-09-26 15:40:50 +02:00
Ukendio
11f27909d2 Bump to 0.3.0 2024-09-24 03:33:56 +02:00
Ukendio
91f151ee3f check for most occuring case 2024-09-24 01:11:24 +02:00
EncodedVenom
16e8055983
Allow nil indexing in world:target (#131)
* Allow nil index in world:target

* Fix the fun type at the bottom

* Update tests
2024-09-23 14:29:53 +02:00
Ukendio
68729446d0 Preallocate capacity 2024-09-22 19:57:13 +02:00
Ukendio
fbbb1de1df Save sparse_array as variable 2024-09-22 16:37:06 +02:00
Ukendio
95b166eca3 Reallocate tables 2024-09-22 16:19:31 +02:00
Ukendio
eedad66517 Bump to rc.5 2024-09-22 04:25:01 +02:00
Ukendio
31880b71ac Improve world_delete performance 2024-09-22 03:36:44 +02:00
Ukendio
8320d1ce49 cleanup archetypes after deleting parent 2024-09-22 00:53:31 +02:00
Ukendio
b3d9ffd0bd Fix indentations 2024-09-22 00:52:58 +02:00
Ukendio
74ac6e1821 Bump 2024-09-21 21:58:04 +02:00