create-aura3d 1.1.0 → 1.1.2
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/dist/cli.js +0 -0
- package/dist/index.js +1 -1
- package/package.json +2 -2
- package/templates/cartoon-channel/README.md +11 -1
- package/templates/cartoon-channel/package.json +1 -1
- package/templates/cartoon-channel/src/experimental/README.md +24 -0
- package/templates/cartoon-channel/src/{concept-episode-2-5d.ts → experimental/concept-episode-2-5d.ts} +2 -2
- package/templates/cartoon-channel/src/{image-puppet-episode.ts → experimental/image-puppet-episode.ts} +2 -2
- package/templates/cartoon-channel/src/{puppet-episode-2d.ts → experimental/puppet-episode-2d.ts} +2 -2
- package/templates/cartoon-studio/ASSET-LICENSES.md +41 -0
- package/templates/cartoon-studio/aura.assets.json +321 -78
- package/templates/cartoon-studio/live-route.html +12 -0
- package/templates/cartoon-studio/package-lock.json +2251 -0
- package/templates/cartoon-studio/package.json +6 -5
- package/templates/cartoon-studio/public/aura-assets/luma.authored.glb +0 -0
- package/templates/cartoon-studio/public/aura-assets/miko.authored.glb +0 -0
- package/templates/cartoon-studio/scripts/build-characters.ts +738 -0
- package/templates/cartoon-studio/scripts/build-dialogue-audio.ts +262 -0
- package/templates/cartoon-studio/scripts/episode.ts +48 -1
- package/templates/cartoon-studio/scripts/render-live.ts +873 -0
- package/templates/cartoon-studio/scripts/validate-characters.ts +0 -0
- package/templates/cartoon-studio/src/aura-assets.ts +15 -12
- package/templates/cartoon-studio/src/main.ts +84 -17
- package/templates/cartoon-studio/src/render-live-route.ts +913 -0
- package/templates/cartoon-studio/tsconfig.json +3 -1
- package/templates/cartoon-studio/vite.config.ts +13 -0
- package/templates/cinematic-scene/package.json +1 -1
- package/templates/episode-builder/README.md +4 -0
- package/templates/episode-builder/package.json +1 -1
- package/templates/fighting-game/README.md +16 -0
- package/templates/fighting-game/package.json +1 -1
- package/templates/mini-game/package.json +1 -1
- package/templates/product-viewer/package.json +1 -1
- package/templates/prompt-cartoon-channel/README.md +4 -0
- package/templates/prompt-cartoon-channel/package.json +1 -1
- package/templates/cartoon-studio/public/aura-assets/luma.047f5e5f.glb +0 -0
- package/templates/cartoon-studio/public/aura-assets/luma.humanoid-fixture.glb +0 -0
- package/templates/cartoon-studio/public/aura-assets/miko.047f5e5f.glb +0 -0
- /package/templates/cartoon-channel/src/{concept-episode-2-5d.css → experimental/concept-episode-2-5d.css} +0 -0
- /package/templates/cartoon-channel/src/{image-puppet-episode.css → experimental/image-puppet-episode.css} +0 -0
- /package/templates/cartoon-channel/src/{puppet-episode-2d.css → experimental/puppet-episode-2d.css} +0 -0
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
"jsx": "react-jsx",
|
|
8
8
|
"types": ["vite/client"]
|
|
9
9
|
},
|
|
10
|
-
"include": ["src"]
|
|
10
|
+
"include": ["src"],
|
|
11
|
+
"//": "render-live-route.ts is the experimental real-3D path; it needs engine exports newer than the published @aura3d/engine and runs only via `npm run episode:render-3d` (which aliases @aura3d/* to a monorepo build). Excluded from the default scaffold typecheck/build.",
|
|
12
|
+
"exclude": ["src/render-live-route.ts"]
|
|
11
13
|
}
|
|
12
14
|
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { defineConfig } from "vite";
|
|
2
|
+
|
|
3
|
+
// The episode package is rendered to `dist/episodes/<id>/` by `npm run episode:render`.
|
|
4
|
+
// Vite's default `emptyOutDir` wipes the whole `dist/` on every `vite build`, which
|
|
5
|
+
// silently destroyed the rendered episode. Keep `emptyOutDir: false` so the route
|
|
6
|
+
// build and the episode render output can coexist in `dist/` without clobbering each
|
|
7
|
+
// other. (Order-independent: build and render no longer destroy one another.)
|
|
8
|
+
export default defineConfig({
|
|
9
|
+
build: {
|
|
10
|
+
outDir: "dist",
|
|
11
|
+
emptyOutDir: false
|
|
12
|
+
}
|
|
13
|
+
});
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Aura3D Episode Builder Template
|
|
2
2
|
|
|
3
|
+
> **Status: example / experimental.** The flagship cartoon pipeline is the
|
|
4
|
+
> [`cartoon-studio`](../cartoon-studio) template. This template is a
|
|
5
|
+
> contract/example only.
|
|
6
|
+
|
|
3
7
|
This template demonstrates a guided prompt-to-episode builder on top of the
|
|
4
8
|
AuraVoice-to-Aura3D prompt-animation contract.
|
|
5
9
|
|
|
@@ -68,3 +68,19 @@ The source-level readiness declaration in `src/game/stage.ts` is not launch
|
|
|
68
68
|
evidence. Before claiming build, package, visual, accessibility, or launch
|
|
69
69
|
readiness, archive the matching command output, runtime evidence JSON,
|
|
70
70
|
browser screenshot, and review result.
|
|
71
|
+
|
|
72
|
+
## Real-asset crossfade path
|
|
73
|
+
|
|
74
|
+
The fighter `AnimationController` in `src/game/fighters.ts` is already configured for real,
|
|
75
|
+
crossfaded animation once typed GLB fighters are supplied:
|
|
76
|
+
|
|
77
|
+
- Required clips per fighter (`REQUIRED_FIGHTER_CLIPS`): `idle`, `walk`, `run`, `air`, `down`,
|
|
78
|
+
`guard`, `light`, `heavy`, `special`, `hurt`, `hitstun`. Resolve a fighter whose embedded GLB
|
|
79
|
+
clips cover these (`assets resolve ... --profile fighting-character`), then map them in
|
|
80
|
+
`src/aura-assets.ts`.
|
|
81
|
+
- The controller uses two layers — `base` (full-body locomotion) and `upper-body` (attacks,
|
|
82
|
+
`restartFromFrameZero`) — so locomotion state changes can crossfade instead of snapping. With
|
|
83
|
+
real assets the controller drives those clips; with no asset it falls back to labeled capsule
|
|
84
|
+
placeholders and the route proof reports `proofMode: "source-placeholders"` (vs `"typed-assets"`).
|
|
85
|
+
- For the deployed reference of crossfade-on-state-change driven from the engine combat world, see
|
|
86
|
+
`apps/aura-clash-showcase` (`AuraClashArenaApp` `applyFighterAnimation`).
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Aura3D Cartoon Channel Template
|
|
2
2
|
|
|
3
|
+
> **Status: example / experimental.** The flagship cartoon pipeline is the
|
|
4
|
+
> [`cartoon-studio`](../cartoon-studio) template. This template is a
|
|
5
|
+
> contract/example only.
|
|
6
|
+
|
|
3
7
|
This template demonstrates the AuraVoice-to-Aura3D prompt-animation contract.
|
|
4
8
|
|
|
5
9
|
It uses:
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
/package/templates/cartoon-channel/src/{puppet-episode-2d.css → experimental/puppet-episode-2d.css}
RENAMED
|
File without changes
|