oriverse-engine 0.1.7 → 0.1.8
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/README.md +11 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,13 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
Prebuilt **Oriverse engine** bundle for serverless single-player games: a WebGPU
|
|
4
4
|
wasm engine you use three.js-style from a CDN, with your whole game authored as
|
|
5
|
-
**one `game.html`** containing inline [Weave](https://oriverse.
|
|
5
|
+
**one `game.html`** containing inline [Weave](https://www.oriverse.com) source.
|
|
6
6
|
|
|
7
7
|
This package is the **compiled engine bundle only** (js glue + wasm + KTX texture
|
|
8
8
|
transcoder + docs). It contains no engine source code and has zero npm dependencies.
|
|
9
9
|
Everything runs client-side: no server, no SharedArrayBuffer, no workers, no
|
|
10
10
|
COOP/COEP headers, no network calls after the engine files load.
|
|
11
11
|
|
|
12
|
+
Full platform (multiplayer, marketplace, in-app AI editor): https://www.oriverse.com
|
|
13
|
+
— agents start at https://www.oriverse.com/llms.txt.
|
|
14
|
+
|
|
12
15
|
## Quickstart (script-tag flow)
|
|
13
16
|
|
|
14
17
|
Create a single `game.html`:
|
|
@@ -26,11 +29,11 @@ object Box { model = "cube" position = (0, 300, 100) size = (100, 100, 100) colo
|
|
|
26
29
|
</script>
|
|
27
30
|
|
|
28
31
|
<!-- Pinned engine version: bump @0.1.2 together on new releases -->
|
|
29
|
-
<script src="https://unpkg.com/oriverse-engine@0.1.
|
|
30
|
-
<script src="https://unpkg.com/oriverse-engine@0.1.
|
|
32
|
+
<script src="https://unpkg.com/oriverse-engine@0.1.8/dist/ktx_lib.js"></script>
|
|
33
|
+
<script src="https://unpkg.com/oriverse-engine@0.1.8/dist/ktx_bridge.js"></script>
|
|
31
34
|
<script type="module">
|
|
32
|
-
import initOriverse from "https://unpkg.com/oriverse-engine@0.1.
|
|
33
|
-
await initOriverse({ module_or_path: "https://unpkg.com/oriverse-engine@0.1.
|
|
35
|
+
import initOriverse from "https://unpkg.com/oriverse-engine@0.1.8/dist/oriverse_wgpu.js";
|
|
36
|
+
await initOriverse({ module_or_path: "https://unpkg.com/oriverse-engine@0.1.8/dist/oriverse_wgpu_bg.wasm" });
|
|
34
37
|
</script>
|
|
35
38
|
</body>
|
|
36
39
|
</html>
|
|
@@ -46,8 +49,8 @@ The engine auto-boots from the `#oriverse-weave` tag. To boot programmatically
|
|
|
46
49
|
instead, omit the tag and call the typed export once after init:
|
|
47
50
|
|
|
48
51
|
```js
|
|
49
|
-
import initOriverse, { bootOriverseArtifact } from "https://unpkg.com/oriverse-engine@0.1.
|
|
50
|
-
await initOriverse({ module_or_path: "https://unpkg.com/oriverse-engine@0.1.
|
|
52
|
+
import initOriverse, { bootOriverseArtifact } from "https://unpkg.com/oriverse-engine@0.1.8/dist/oriverse_wgpu.js";
|
|
53
|
+
await initOriverse({ module_or_path: "https://unpkg.com/oriverse-engine@0.1.8/dist/oriverse_wgpu_bg.wasm" });
|
|
51
54
|
await bootOriverseArtifact(weaveSource);
|
|
52
55
|
```
|
|
53
56
|
|
|
@@ -66,7 +69,7 @@ point an agent at it, and say "make a game".
|
|
|
66
69
|
- Content must be fully procedural: primitive models, `#mesh`, `#texture`,
|
|
67
70
|
`#particles`. Market/network assets are unavailable and hard-error.
|
|
68
71
|
- Weave language + API reference: `dist/weave_documentation.txt`
|
|
69
|
-
(also at `https://unpkg.com/oriverse-engine@0.1.
|
|
72
|
+
(also at `https://unpkg.com/oriverse-engine@0.1.8/dist/weave_documentation.txt`).
|
|
70
73
|
- Package/runtime onboarding: `dist/AGENT_ONBOARDING.md`.
|
|
71
74
|
- Copy-paste prompt for AI coding agents: `dist/CODEX_PROMPT.md`.
|
|
72
75
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oriverse-engine",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"description": "Prebuilt Oriverse engine bundle (WebGPU wasm + js glue) for serverless single-player games authored as one game.html with inline Weave source. Compiled engine only - contains no source code.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"files": [
|