Skip to content

armgit / 67.js

Public Imported from GitHub
0

3D engine that AI agents drive

Merge main into feat/777-game-rules

Nguyen Xuan Anfff5ea50425e
diff --cc README.md
index 29774738,0ad929fb..5b1a7c42
--- a/README.md
+++ b/README.md
@@@ -141,9 -141,9 +141,10 @@@ Each addon is a separate import, so a p
| Live games | `67js/addons/runtime` | [Game loop](docs/runtime.md) with fixed or variable steps and pluggable systems |
| Live games | `67js/addons/streaming` | [Streaming](docs/streaming.md): loader plugins, distance and request loading, a byte budget with LRU eviction and LOD with hysteresis |
| Live games | `67js/addons/input` | [Input](docs/input.md): keyboard, mouse, gamepad and custom sources mapped to named actions and axes |
+ | Live games | `67js/addons/audio` | [Spatial audio](docs/audio.md): sounds on nodes, played from contacts, markers and input, with buses and a limiter |
| Live games | `67js/addons/animation-graph` | [Animation graph](docs/animation-graph.md): states, 1D and 2D blend spaces, parameter transitions with crossfades and masked layers for any rig |
| Live games | `67js/addons/player` | [Player](docs/player.md): character controller, follow, first-person and top-down camera rigs, swappable at runtime |
+| Live games | `67js/addons/game-rules` | [Game rules](docs/game-rules.md): a JSON rule document of variables, triggers and actions, played as a runtime system |
| Modeling | `67js/addons/mesh`, `67js/addons/modeling`, `67js/addons/sculpt` | [Mesh editing](docs/mesh.md), [modeling](docs/modeling.md) and [sculpt brushes](https://67js.codepawl.com/sculpt.md) |
| Offline light | `67js/addons/path-tracer`, `67js/addons/light-bake` | [Path-traced stills](https://67js.codepawl.com/path-tracer.md) and [baked lightmaps](https://67js.codepawl.com/light-bake.md) |
| Post passes | `67js/addons/user-pass` | [Your own full-screen GLSL passes](docs/user-passes.md): dither, pixel downscale, quantise |
diff --cc package.json
index 0b82917b,52e39a51..6ae30eb5
--- a/package.json
+++ b/package.json
@@@ -44,9 -44,9 +44,10 @@@
"docs/runtime.md",
"docs/streaming.md",
"docs/input.md",
+ "docs/audio.md",
"docs/animation-graph.md",
"docs/player.md",
+ "docs/game-rules.md",
"docs/scene-query.md",
"docs/user-passes.md",
"docs/skeleton-pose.md",
@@@ -126,9 -126,9 +127,10 @@@
"./addons/runtime": "./build/runtime.js",
"./addons/streaming": "./build/streaming.js",
"./addons/input": "./build/input.js",
+ "./addons/audio": "./build/audio.js",
"./addons/animation-graph": "./build/animation-graph.js",
"./addons/player": "./build/player.js",
+ "./addons/game-rules": "./build/game-rules.js",
"./addons/update-part-vertices": "./build/update-part-vertices.js",
"./package.json": "./package.json"
},
diff --cc vite.lib.config.js
index 66088a72,c94f7bd3..02819852
--- a/vite.lib.config.js
+++ b/vite.lib.config.js
@@@ -108,9 -108,9 +108,10 @@@ export default defineConfig(
cloth: 'src/cloth.js',
runtime: 'src/runtime.js',
input: 'src/input.js',
+ audio: 'src/audio.js',
'animation-graph': 'src/animation-graph.js',
player: 'src/player.js',
+ 'game-rules': 'src/game-rules.js',
streaming: 'src/streaming.js',
'update-part-vertices':'src/update-part-vertices.js',
'replace-textured-parts': 'src/replace-textured-parts.js',