Compare commits

...

9 commits

Author SHA1 Message Date
Clown
b7cc9d5461
Merge 96bed9bd7e into 1bfcba7422 2025-02-26 12:04:36 -05:00
Ukendio
1bfcba7422 Optimized queries for more than 4 components
Some checks failed
analysis / Run Luau Analyze (push) Has been cancelled
deploy-docs / build (push) Has been cancelled
publish-npm / publish (push) Has been cancelled
unit-testing / Run Luau Tests (push) Has been cancelled
deploy-docs / Deploy (push) Has been cancelled
2025-02-26 17:26:11 +01:00
Ukendio
c9b07433aa Reduce memory usage for archetype records 2025-02-26 17:04:17 +01:00
Ukendio
af13ea9f5f Bump
Some checks failed
analysis / Run Luau Analyze (push) Has been cancelled
deploy-docs / build (push) Has been cancelled
publish-npm / publish (push) Has been cancelled
unit-testing / Run Luau Tests (push) Has been cancelled
deploy-docs / Deploy (push) Has been cancelled
2025-02-25 02:41:27 +01:00
Ukendio
61e0df82ae Remove invoke_hook
Some checks are pending
analysis / Run Luau Analyze (push) Waiting to run
deploy-docs / build (push) Waiting to run
deploy-docs / Deploy (push) Blocked by required conditions
publish-npm / publish (push) Waiting to run
unit-testing / Run Luau Tests (push) Waiting to run
2025-02-25 02:39:41 +01:00
Nidoxs
1a7b1b02b6
Update Jecs version to latest in get-started.md (#199)
Some checks are pending
analysis / Run Luau Analyze (push) Waiting to run
deploy-docs / build (push) Waiting to run
deploy-docs / Deploy (push) Blocked by required conditions
publish-npm / publish (push) Waiting to run
unit-testing / Run Luau Tests (push) Waiting to run
2025-02-23 18:34:53 +01:00
Clown
872e5c9cdb
Bump Jabby v0.2.0-rc.9 (#197)
Some checks failed
analysis / Run Luau Analyze (push) Has been cancelled
deploy-docs / build (push) Has been cancelled
publish-npm / publish (push) Has been cancelled
unit-testing / Run Luau Tests (push) Has been cancelled
deploy-docs / Deploy (push) Has been cancelled
Fixes demo not running because of breaking changes in Jabby
2025-02-21 18:26:06 +01:00
lolmanurfunny
4c5e5e1968
Fix redundant checks in world_remove (#198) 2025-02-21 18:10:24 +01:00
Ukendio
3815c62442 Fix critical issue with deleted entity being swapped with the last
Some checks failed
analysis / Run Luau Analyze (push) Has been cancelled
deploy-docs / build (push) Has been cancelled
publish-npm / publish (push) Has been cancelled
unit-testing / Run Luau Tests (push) Has been cancelled
deploy-docs / Deploy (push) Has been cancelled
2025-02-20 22:55:07 +01:00
7 changed files with 462 additions and 275 deletions

View file

@ -56,17 +56,21 @@ world:set(PreSimulation, Event, RunService.PreSimulation)
world:add(PreAnimation, Phase)
world:set(PreAnimation, Event, RunService.PreAnimation)
table.insert(jabby.public, {
class_name = "World",
jabby.register({
applet = jabby.applets.world,
name = "MyWorld",
configuration = {
world = world,
debug = Name,
entities = {},
},
})
jabby.public.updated = true
table.insert(jabby.public, jabby_scheduler)
jabby.register({
applet = jabby.applets.scheduler,
name = "Scheduler",
configuration = {
scheduler = jabby_scheduler,
},
})
if RunService:IsClient() then
world:add(PreRender, Phase)

View file

@ -5,4 +5,4 @@ registry = "https://github.com/UpliftGames/wally-index"
realm = "shared"
[dependencies]
jabby = "alicesaidhi/jabby@0.2.0-rc.3"
jabby = "alicesaidhi/jabby@0.2.0-rc.9"

View file

@ -15,7 +15,7 @@ Add the following to your wally configuration:
::: code-group
```toml [wally.toml]
jecs = "ukendio/jecs@0.2.3"
jecs = "ukendio/jecs@0.5.3"
```
:::

709
jecs.luau

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,6 @@
{
"name": "@rbxts/jecs",
"version": "0.5.3",
"version": "0.5.4",
"description": "Stupidly fast Entity Component System",
"main": "jecs.luau",
"repository": {

View file

@ -1262,7 +1262,7 @@ TEST("world:target", function()
local records = debug_world_inspect(world).records(e)
CHECK(jecs.pair_first(world, pair(B, C)) == B)
CHECK(records[pair(B, C)].column > records[pair(A, E)].column)
CHECK(records[pair(B, C)] > records[pair(A, E)])
CHECK(world:target(e, A, 0) == B)
CHECK(world:target(e, A, 1) == C)
CHECK(world:target(e, A, 2) == D)

View file

@ -1,6 +1,6 @@
[package]
name = "ukendio/jecs"
version = "0.5.3"
version = "0.5.4"
registry = "https://github.com/UpliftGames/wally-index"
realm = "shared"
license = "MIT"