@combos-fun/engine 0.1.19 → 0.1.20
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 +67 -3
- package/dist/engine.cjs.js.map +1 -1
- package/dist/engine.cjs.prod.js +1 -1
- package/dist/engine.d.ts +45 -6
- package/dist/engine.esm.js +64 -4
- package/dist/engine.esm.js.map +1 -1
- package/package.json +3 -3
- package/plugin-authoring.md +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@combos-fun/engine",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.20",
|
|
4
4
|
"description": "ECS microkernel",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "dist/engine.esm.js",
|
|
@@ -43,13 +43,13 @@
|
|
|
43
43
|
"lodash-es": "^4.17.21",
|
|
44
44
|
"resource-loader": "^4.0.0-rc4",
|
|
45
45
|
"sprite-timeline": "^1.10.2",
|
|
46
|
-
"@combos-fun/inspector-decorator": "0.1.
|
|
46
|
+
"@combos-fun/inspector-decorator": "0.1.20"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"tsx": "^4.20.3"
|
|
50
50
|
},
|
|
51
51
|
"scripts": {
|
|
52
52
|
"build": "node ../../scripts/build-package.mjs",
|
|
53
|
-
"test": "node --import tsx --test test/normalizeResourceSrc.test.ts test/normalizeSpritesheetData.test.ts test/gameObject-tree.test.ts test/renderQuality.test.ts test/preferCompressedImage.test.ts"
|
|
53
|
+
"test": "node --import tsx --test test/normalizeResourceSrc.test.ts test/normalizeSpritesheetData.test.ts test/gameObject-tree.test.ts test/renderQuality.test.ts test/preferCompressedImage.test.ts test/resourceHostMessages.test.ts"
|
|
54
54
|
}
|
|
55
55
|
}
|
package/plugin-authoring.md
CHANGED
|
@@ -152,7 +152,7 @@ class MyRenderer3D extends Renderer3D {
|
|
|
152
152
|
|
|
153
153
|
## Host `postMessage` type names
|
|
154
154
|
|
|
155
|
-
Only `@combos-fun/engine` may invent `combos-game:*` types (`plugin-init-success`, `ready`, `set-playing`, `state-changed`). Every other plugin’s iframe / parent / `window` / `game.emit` host command uses the `combos-development-tool:` prefix — including features implemented outside `plugin-development-tool` (for example mute in `plugin-sound`). Do not add `combos-sound:*`, `combos-<plugin>:*`, or a new prefix.
|
|
155
|
+
Only `@combos-fun/engine` may invent `combos-game:*` types (`plugin-init-success`, `ready`, `set-playing`, `state-changed`, `resource-progress`, `resources-ready`). Every other plugin’s iframe / parent / `window` / `game.emit` host command uses the `combos-development-tool:` prefix — including features implemented outside `plugin-development-tool` (for example mute in `plugin-sound`). Do not add `combos-sound:*`, `combos-<plugin>:*`, or a new prefix.
|
|
156
156
|
|
|
157
157
|
## `combos-plugin.json` (manifest)
|
|
158
158
|
|