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.
Files changed (41) hide show
  1. package/dist/cli.js +0 -0
  2. package/dist/index.js +1 -1
  3. package/package.json +2 -2
  4. package/templates/cartoon-channel/README.md +11 -1
  5. package/templates/cartoon-channel/package.json +1 -1
  6. package/templates/cartoon-channel/src/experimental/README.md +24 -0
  7. package/templates/cartoon-channel/src/{concept-episode-2-5d.ts → experimental/concept-episode-2-5d.ts} +2 -2
  8. package/templates/cartoon-channel/src/{image-puppet-episode.ts → experimental/image-puppet-episode.ts} +2 -2
  9. package/templates/cartoon-channel/src/{puppet-episode-2d.ts → experimental/puppet-episode-2d.ts} +2 -2
  10. package/templates/cartoon-studio/ASSET-LICENSES.md +41 -0
  11. package/templates/cartoon-studio/aura.assets.json +321 -78
  12. package/templates/cartoon-studio/live-route.html +12 -0
  13. package/templates/cartoon-studio/package-lock.json +2251 -0
  14. package/templates/cartoon-studio/package.json +6 -5
  15. package/templates/cartoon-studio/public/aura-assets/luma.authored.glb +0 -0
  16. package/templates/cartoon-studio/public/aura-assets/miko.authored.glb +0 -0
  17. package/templates/cartoon-studio/scripts/build-characters.ts +738 -0
  18. package/templates/cartoon-studio/scripts/build-dialogue-audio.ts +262 -0
  19. package/templates/cartoon-studio/scripts/episode.ts +48 -1
  20. package/templates/cartoon-studio/scripts/render-live.ts +873 -0
  21. package/templates/cartoon-studio/scripts/validate-characters.ts +0 -0
  22. package/templates/cartoon-studio/src/aura-assets.ts +15 -12
  23. package/templates/cartoon-studio/src/main.ts +84 -17
  24. package/templates/cartoon-studio/src/render-live-route.ts +913 -0
  25. package/templates/cartoon-studio/tsconfig.json +3 -1
  26. package/templates/cartoon-studio/vite.config.ts +13 -0
  27. package/templates/cinematic-scene/package.json +1 -1
  28. package/templates/episode-builder/README.md +4 -0
  29. package/templates/episode-builder/package.json +1 -1
  30. package/templates/fighting-game/README.md +16 -0
  31. package/templates/fighting-game/package.json +1 -1
  32. package/templates/mini-game/package.json +1 -1
  33. package/templates/product-viewer/package.json +1 -1
  34. package/templates/prompt-cartoon-channel/README.md +4 -0
  35. package/templates/prompt-cartoon-channel/package.json +1 -1
  36. package/templates/cartoon-studio/public/aura-assets/luma.047f5e5f.glb +0 -0
  37. package/templates/cartoon-studio/public/aura-assets/luma.humanoid-fixture.glb +0 -0
  38. package/templates/cartoon-studio/public/aura-assets/miko.047f5e5f.glb +0 -0
  39. /package/templates/cartoon-channel/src/{concept-episode-2-5d.css → experimental/concept-episode-2-5d.css} +0 -0
  40. /package/templates/cartoon-channel/src/{image-puppet-episode.css → experimental/image-puppet-episode.css} +0 -0
  41. /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
+ });
@@ -11,7 +11,7 @@
11
11
  "test": "playwright test tests/route-health.spec.ts tests/screenshot.spec.ts --workers=1"
12
12
  },
13
13
  "dependencies": {
14
- "@aura3d/engine": "1.0.10"
14
+ "@aura3d/engine": "1.1.0"
15
15
  },
16
16
  "devDependencies": {
17
17
  "@playwright/test": "^1.52.0",
@@ -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
 
@@ -11,7 +11,7 @@
11
11
  "test": "playwright test tests/route-health.spec.ts tests/storyboard-playback.spec.ts --workers=1"
12
12
  },
13
13
  "dependencies": {
14
- "@aura3d/engine": "1.0.10"
14
+ "@aura3d/engine": "1.1.0"
15
15
  },
16
16
  "devDependencies": {
17
17
  "@playwright/test": "^1.52.0",
@@ -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`).
@@ -11,7 +11,7 @@
11
11
  "test": "playwright test tests/route-health.spec.ts tests/gameplay-smoke.spec.ts --workers=1"
12
12
  },
13
13
  "dependencies": {
14
- "@aura3d/engine": "1.0.10"
14
+ "@aura3d/engine": "1.1.0"
15
15
  },
16
16
  "devDependencies": {
17
17
  "@playwright/test": "^1.52.0",
@@ -11,7 +11,7 @@
11
11
  "test": "playwright test tests/route-health.spec.ts tests/screenshot.spec.ts --workers=1"
12
12
  },
13
13
  "dependencies": {
14
- "@aura3d/engine": "1.0.10"
14
+ "@aura3d/engine": "1.1.0"
15
15
  },
16
16
  "devDependencies": {
17
17
  "@playwright/test": "^1.52.0",
@@ -11,7 +11,7 @@
11
11
  "test": "playwright test tests/route-health.spec.ts tests/screenshot.spec.ts --workers=1"
12
12
  },
13
13
  "dependencies": {
14
- "@aura3d/engine": "1.0.10"
14
+ "@aura3d/engine": "1.1.0"
15
15
  },
16
16
  "devDependencies": {
17
17
  "@playwright/test": "^1.52.0",
@@ -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:
@@ -11,7 +11,7 @@
11
11
  "test": "playwright test tests/route-health.spec.ts tests/storyboard-playback.spec.ts --workers=1"
12
12
  },
13
13
  "dependencies": {
14
- "@aura3d/engine": "1.0.10"
14
+ "@aura3d/engine": "1.1.0"
15
15
  },
16
16
  "devDependencies": {
17
17
  "@playwright/test": "^1.52.0",