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
Ukendio
74ca305600
Improve debug message
2024-09-21 21:28:06 +02:00
Ukendio
5d6c2e8d42
Fix unit tests and debug mode to enforce OnRemove rules
2024-09-21 20:53:12 +02:00
Ukendio
1de93f9185
invoke OnRemove hooks before moving
2024-09-21 18:51:50 +02:00
Marcus
b3da0745bc
Fix cycles ( #129 )
2024-09-20 21:58:18 +02:00
Marcus
2ed869ba93
Archetype deletion ( #126 )
...
* initial commit
* cleanup edges
* rename ptr to edge
2024-09-20 21:29:50 +02:00
Ukendio
ca00d4c0c1
use components not entities
2024-09-17 22:15:53 +02:00
Marcus
bd187e69ad
Call entity_move before invoke_hook ( #124 )
2024-09-17 16:39:28 +02:00
alicesaidhi
2b1122e073
Implement testkit FOCUS() ( #87 )
...
* add focus to testkit
* show amount of focus cases passed
2024-09-17 03:18:52 +02:00
alicesaidhi
3276566ea5
Improve benchmark code ( #84 )
...
* Create general.luau
* add query
* update query
* world:target bench
* change requires
* add relationship benchmark
2024-09-17 02:40:31 +02:00
Someon1e
f2ab8e0b06
Fix overview example ( #120 )
2024-09-16 22:16:50 +02:00
Prithvi
e957ca2da9
Update addons.md with Jam ( #122 )
2024-09-16 22:11:40 +02:00
jakeundefinedz
86b5b0ac42
Update package.json ( #121 )
...
The main entry point should be 'src' rather than 'src/init'
-ensures that the correct entry file is used when the package is imported or executed.
2024-09-16 21:47:58 +02:00
Ukendio
8cef7589d4
Bump
2024-09-16 21:33:44 +02:00
Marcus
62ac6e62c0
Iter should not drain by default ( #123 )
2024-09-16 21:33:12 +02:00
Ukendio
87754c19d2
Bump
2024-09-13 22:52:55 +02:00
Ukendio
3949aad16a
Bump
2024-09-13 22:52:03 +02:00
Ukendio
f0f00f959e
Remove Tag
2024-09-12 16:25:13 +02:00
Ukendio
699beccc1c
Change display to explicit pair
2024-09-12 16:24:59 +02:00
Marcus
f8b2c8c2b3
Name the builtin components ( #117 )
...
* Add nth parameter to world:target
* Put archetype record creation into function
* Fix docs and comments
* Make EcsWildcard a component
* Name the builtin components
2024-09-11 02:53:15 +02:00
EncodedVenom
07efaf39e9
Update world::target for typescript
2024-09-10 20:09:58 -04:00
Marcus
244d799cec
Add nth parameter to world:target ( #116 )
...
* Add nth parameter to world:target
* Put archetype record creation into function
* Fix docs and comments
2024-09-10 23:56:42 +02:00
juste
8e0a9409f5
fixed typescript types ( #115 )
2024-09-09 21:44:45 +02:00
Ukendio
411138e1f7
Merge system files
2024-09-09 03:38:47 +02:00
Ukendio
8c28cab792
Add tests for hooks cache
2024-09-09 03:22:55 +02:00
Ukendio
1503d7e462
Add a hooks cache
2024-09-09 03:22:20 +02:00
Ukendio
e234bd82ee
Fix invalid key
2024-09-09 02:18:08 +02:00
Ukendio
08e46fb5f9
Merge
2024-09-08 19:57:17 +02:00