Sync to released Jecs 0.6.0-nightly.20250519T001113Z (#68)

Reviewed-on: #68
This commit is contained in:
marked 2025-05-19 02:11:34 +02:00
parent 2c4063882f
commit 75c362f80e
8 changed files with 11 additions and 11 deletions

View file

@ -2,7 +2,7 @@
<img src="assets/image-5.png" width=35%/>
</p>
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg?style=for-the-badge)](LICENSE) [![Wally](https://img.shields.io/github/v/tag/ukendio/jecs?&style=for-the-badge)](https://wally.run/package/ukendio/jecs)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg?style=for-the-badge)](LICENSE) [![Wally](https://img.shields.io/github/v/tag/ukendio/jecs?&style=for-the-badge)](https://wally.run/package/ukendio/jecs) [![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/ukendio/jecs/unit-testing.yaml?&style=for-the-badge)](https://github.com/Ukendio/jecs/actions/workflows/unit-testing.yaml)
Just a stupidly fast Entity Component System

View file

@ -1,2 +1,2 @@
modified = ["jecs.luau"]
version = "0.6.0-nightly.20250517T001101Z"
modified = ["README.md", "jecs.luau"]
version = "0.6.0-nightly.20250519T001113Z"

View file

@ -2570,7 +2570,7 @@ export type World = {
range: (self: World, range_begin: number, range_end: number?) -> (),
--- Creates a new entity
entity: (self: World, id: Entity?) -> Entity,
entity: <T>(self: World, id: Entity<T>?) -> Entity<T>,
--- Creates a new entity located in the first 256 ids.
--- These should be used for static components for fast access.
component: <T>(self: World) -> Entity<T>,
@ -2650,7 +2650,7 @@ return {
tag = (ECS_TAG :: any) :: <T>() -> Entity<T>,
meta = (ECS_META :: any) :: <T>(id: Entity, id: Id<T>, value: T) -> Entity<T>,
is_tag = (ecs_is_tag :: any) :: <T>(World, Id<T>) -> boolean,
OnAdd = EcsOnAdd :: Entity<<T>(entity: Entity, id: Id<T>, data: T) -> ()>,
OnRemove = EcsOnRemove :: Entity<(entity: Entity, id: Id) -> ()>,
OnChange = EcsOnChange :: Entity<<T>(entity: Entity, id: Id<T>, data: T) -> ()>,

View file

@ -3,7 +3,7 @@ includes = ["init.luau", "pesde.toml", "README.md", "CHANGELOG.md", "LICENSE", "
license = "MIT"
name = "marked/jecs_nightly"
repository = "https://git.devmarked.win/marked/jecs-nightly"
version = "0.6.0-nightly.20250517T001101Z"
version = "0.6.0-nightly.20250519T001113Z"
[indices]
default = "https://github.com/pesde-pkg/index"

View file

@ -3,7 +3,7 @@ includes = ["init.luau", "pesde.toml", "README.md", "CHANGELOG.md", "LICENSE", "
license = "MIT"
name = "marked/jecs_nightly"
repository = "https://git.devmarked.win/marked/jecs-nightly"
version = "0.6.0-nightly.20250517T001101Z"
version = "0.6.0-nightly.20250519T001113Z"
[indices]
default = "https://github.com/pesde-pkg/index"

View file

@ -1,2 +1,2 @@
passed = true
timestamp = "20250518T001104Z"
timestamp = "20250519T001115Z"

View file

@ -1,5 +1,5 @@
7.3 us  3 kB│ delete children of entity
9.3 us  1 kB│ remove friends of entity
9.2 us  1 kB│ remove friends of entity
348 ns  10  B│ simple deletion of entity
repro
NONE│ 
@ -121,5 +121,5 @@
PASS│ #2
PASS│ #3
74/74 test cases passed in 32.645 ms.
74/74 test cases passed in 33.314 ms.
0 fails

View file

@ -5,4 +5,4 @@ license = "MIT"
name = "mark-marks/jecs-nightly"
realm = "shared"
registry = "https://github.com/UpliftGames/wally-index"
version = "0.6.0-nightly.20250517T001101Z"
version = "0.6.0-nightly.20250519T001113Z"