@combos-fun/engine 0.1.20 → 0.1.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/agent-skill.md CHANGED
@@ -9,10 +9,10 @@ ECS microkernel. New plugins: `plugin-authoring.md`.
9
9
  - Per-entity state on Components, so destroying a GameObject removes it. Cross-entity work in Systems. Remove listeners in `onDestroy`.
10
10
  - Bootstrap only wires resources, Systems, GameObjects, and Components. Configure in the constructor; act from lifecycle or events.
11
11
  - Custom Components set `static componentName`. Do not scan the scene for them.
12
- - Use renderer plugins or a registered `Renderer` / `Renderer3D`. Host-owned plugins may touch raw Pixi, Three, or DOM. Host messages: `combos-game:*` only here; plugins use `combos-development-tool:*`.
12
+ - Use renderer plugins or a registered `Renderer` / `Renderer3D`.
13
13
  - `game.getSystem(SystemClass)`. String form is `static systemName`, not the class name.
14
14
  - Scene: `game.scene`.
15
15
  - Component `game` is a getter (`gameObject?.scene?.game`), after the GameObject is in the scene. System `game` is set in `addSystem`.
16
16
  - `componentObserver.clear()` events may omit `gameObject`.
17
- - `resource.addResource`. Each `src` slot is a url string or `{ type, url }`. `preload` posts `combos-game:resource-progress` per item and `combos-game:resources-ready` once per batch (`failed` empty means success; `total: 0` means nothing was marked `preload`). Lazy `getResource` does not post these.
17
+ - `resource.addResource`. Each `src` slot is a url string or `{ type, url }`. `preload: true` loads during startup. Lazy `getResource` loads on first use.
18
18
  - Inspector fields: `@Field` from `@combos-fun/inspector-decorator`. Engine `IDEProp` is legacy.
@@ -891,7 +891,7 @@ class Scene extends GameObject {
891
891
  }
892
892
 
893
893
  /** Generated at build from package.json */
894
- const version = "0.1.20";
894
+ const version = "0.1.21";
895
895
 
896
896
  /**
897
897
  * Sent to `window.parent` after each `System.init` completes during `Game.addSystem`