create-vimp-game 0.3.7 → 0.4.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-vimp-game",
3
- "version": "0.3.7",
3
+ "version": "0.4.1",
4
4
  "description": "Scaffolder for VIMP game plugins",
5
5
  "keywords": [
6
6
  "vimp",
@@ -1,4 +1,4 @@
1
1
  {
2
- "engine": "0.23.0",
3
- "core": "0.9.0"
2
+ "engine": "0.24.1",
3
+ "core": "0.9.2"
4
4
  }
@@ -14,6 +14,10 @@ export default {
14
14
  // a literal, and not something the game ages out of (see src/host/index.js)
15
15
  engineApi: ENGINE_API_VERSION,
16
16
 
17
+ // same list as the host half and GameManifest.requires — read by the
18
+ // standalone SDK, which has no manifest to read it from
19
+ requires: [],
20
+
17
21
  // MUST return { core, memory }: `memory` is the WebAssembly memory the
18
22
  // engine reads the hot buffer out of every render tick. Without it the
19
23
  // client silently renders nothing but the discrete frames.
@@ -27,6 +27,12 @@ export default {
27
27
  // engine releases (docs/en/plugin-api.md)
28
28
  engineApi: ENGINE_API_VERSION,
29
29
 
30
+ // engine capabilities the game cannot run without — the same list as
31
+ // GameManifest.requires (scripts/build-game-manifest.js), repeated here
32
+ // because the standalone SDK has no manifest: `npm run dev` builds the
33
+ // match from the live plugin objects. Empty is the normal state
34
+ requires: [],
35
+
30
36
  // wasmUrl comes from the manifest: init() loads by an explicit URL instead
31
37
  // of the glue module's own import.meta.url resolution, which does not
32
38
  // survive inside a Worker