@combos-fun/engine 0.0.46 → 0.0.48
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 +1 -1
- package/dist/engine.cjs.js +1 -1
- package/dist/engine.cjs.js.map +1 -1
- package/dist/engine.cjs.prod.js +1 -1
- package/dist/engine.d.ts +1 -1
- package/dist/engine.esm.js +1 -1
- package/dist/engine.esm.js.map +1 -1
- package/package.json +2 -2
- package/plugin-authoring.md +4 -0
- package/references/public-api.md +1 -1
package/agent-skill.md
CHANGED
|
@@ -19,7 +19,7 @@ Read when starting an engine task or resolving an engine API/lifecycle question.
|
|
|
19
19
|
2. Put single-entity behavior in Component hooks and cross-entity behavior in Systems; clean up listeners in `onDestroy`.
|
|
20
20
|
3. Bootstrap only creates and wires resources, Systems, GameObjects, and Components.
|
|
21
21
|
4. Use `static componentName` for custom Components and observers rather than ad-hoc scene scans.
|
|
22
|
-
5. Game code uses renderer plugins or registered `Renderer` / `Renderer3D` subclasses, not raw Pixi, Three, or DOM. Host-owning plugins are exceptions.
|
|
22
|
+
5. Game code uses renderer plugins or registered `Renderer` / `Renderer3D` subclasses, not raw Pixi, Three, or DOM. Host-owning plugins are exceptions. Host `postMessage` types: `combos-game:*` only in this package; plugins use `combos-development-tool:*`.
|
|
23
23
|
6. Configure through constructor params; trigger runtime actions from lifecycle/event Components.
|
|
24
24
|
|
|
25
25
|
## Common pitfalls
|
package/dist/engine.cjs.js
CHANGED
|
@@ -1001,7 +1001,7 @@ class Scene extends GameObject {
|
|
|
1001
1001
|
}
|
|
1002
1002
|
|
|
1003
1003
|
/** Generated at build from package.json */
|
|
1004
|
-
const version = "0.0.
|
|
1004
|
+
const version = "0.0.48";
|
|
1005
1005
|
|
|
1006
1006
|
/**
|
|
1007
1007
|
* Sent to `window.parent` after each `System.init` completes during `Game.addSystem`
|