@combos-fun/engine 0.0.53 → 0.1.0
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/combos-plugin.json +0 -1
- package/dist/engine.cjs.js +87 -198
- package/dist/engine.cjs.js.map +1 -1
- package/dist/engine.cjs.prod.js +1 -1
- package/dist/engine.d.ts +20 -115
- package/dist/engine.esm.js +88 -198
- package/dist/engine.esm.js.map +1 -1
- package/package.json +3 -3
- package/references/public-api.md +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@combos-fun/engine",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "ECS microkernel",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "dist/engine.esm.js",
|
|
@@ -45,13 +45,13 @@
|
|
|
45
45
|
"lodash-es": "^4.17.21",
|
|
46
46
|
"resource-loader": "^4.0.0-rc4",
|
|
47
47
|
"sprite-timeline": "^1.10.2",
|
|
48
|
-
"@combos-fun/inspector-decorator": "0.0
|
|
48
|
+
"@combos-fun/inspector-decorator": "0.1.0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"tsx": "^4.20.3"
|
|
52
52
|
},
|
|
53
53
|
"scripts": {
|
|
54
54
|
"build": "node ../../scripts/build-package.mjs",
|
|
55
|
-
"test": "node --import tsx --test test/normalizeResourceSrc.test.ts test/normalizeSpritesheetData.test.ts"
|
|
55
|
+
"test": "node --import tsx --test test/normalizeResourceSrc.test.ts test/normalizeSpritesheetData.test.ts test/gameObject-tree.test.ts"
|
|
56
56
|
}
|
|
57
57
|
}
|
package/references/public-api.md
CHANGED
|
@@ -6,13 +6,13 @@ Open only when the short `agent-skill` card is insufficient for a named symbol o
|
|
|
6
6
|
|
|
7
7
|
### Values
|
|
8
8
|
|
|
9
|
-
`Game`, `Scene`, `GameObject`, `Component`, `System`, `
|
|
9
|
+
`Game`, `Scene`, `GameObject`, `Component`, `System`, `resource`, `resourceLoader`, `decorators`, `IDEProp`, `componentObserver`, `LOAD_EVENT`, `RESOURCE_TYPE`, `OBSERVER_TYPE`, `LOAD_SCENE_MODE`, `RESOURCE_TYPE_STRATEGY`, `normalizeResourceSrc`, `normalizeSpritesheetData`, `version`, `COMBOS_GAME_PLUGIN_INIT_SUCCESS`, `COMBOS_GAME_READY`, `COMBOS_GAME_SET_PLAYING`, `COMBOS_GAME_STATE_CHANGED`, `postParentPluginInitSuccess`, `postParentGameReady`, `postParentGameState`, `parseSetPlayingMessage`, `DEFAULT_ALLOWED_MESSAGE_HOST_SUFFIXES`, `isAllowedMessageOrigin`, `mergeAllowedMessageOrigins`.
|
|
10
10
|
|
|
11
11
|
`IDEProp` (this package) only pushes property **names** onto `constructor.IDEProps` as an **array**. New inspector / Scene Edit fields use `@Field` from `@combos-fun/inspector-decorator` (string key `IDE_PROPERTY_METADATA`). `plugin-development-tool` prefers `@Field`; it ignores the `IDEProp` array. Do not add `@IDEProp` on new components.
|
|
12
12
|
|
|
13
13
|
### Types
|
|
14
14
|
|
|
15
|
-
`GameParams`, `PluginStruct`, `
|
|
15
|
+
`GameParams`, `PluginStruct`, `ComponentChanged`, `UpdateParams`, `ComponentParams`, `ObserverInfo`, `PureObserverInfo`, `ResourceBase`, `ResourceStruct`, `SystemConstructor`, `CombosGamePluginInitSuccessMessage`, `CombosGameReadyMessage`, `CombosGameStateChangedMessage`, `CombosGameSetPlayingMessage`.
|
|
16
16
|
|
|
17
17
|
### `GameParams`
|
|
18
18
|
|