aurasu 0.1.0 → 0.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/README.md +16 -0
- package/aura.capabilities.json +26 -0
- package/aura.config.json +1 -1
- package/bin/play.js +1185 -18
- package/config/gameplay/game.config.js +11 -0
- package/content/gameplay/beatmap.content.js +17 -0
- package/package.json +9 -3
- package/prefabs/playfield.prefab.js +17 -0
- package/scenes/gameplay.scene.js +2255 -0
- package/src/main.js +12 -2224
- package/src/runtime/app-state.js +100 -0
- package/src/runtime/app.js +1060 -0
- package/src/runtime/capabilities.js +14 -0
- package/src/runtime/project-inspector.js +615 -0
- package/src/runtime/project-registry.js +91 -0
- package/src/runtime/scene-flow.js +290 -0
- package/src/runtime/scene-registry.js +25 -0
- package/src/runtime/screen-shell.js +222 -0
- package/src/runtime/ui-settings.js +227 -0
- package/src/runtime/ui-theme.js +297 -0
- package/ui/hud.screen.js +14 -0
package/README.md
CHANGED
|
@@ -11,6 +11,22 @@ auramaxx play aurasu
|
|
|
11
11
|
|
|
12
12
|
A hit-circle rhythm game built with AuraScript.
|
|
13
13
|
|
|
14
|
+
Play:
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
auramaxx play aurasu
|
|
18
|
+
|
|
19
|
+
# or run the published game wrapper directly
|
|
20
|
+
npx aurasu play
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Project layout:
|
|
24
|
+
|
|
25
|
+
- `src/main.js` is the thin runtime bootstrap.
|
|
26
|
+
- `src/runtime/` owns the scaffold-backed app shell, registry, and continuity helpers.
|
|
27
|
+
- `scenes/gameplay.scene.js` owns the existing rhythm loop and async asset/audio setup.
|
|
28
|
+
- `config/`, `content/`, `prefabs/`, and `ui/` now mirror the scaffold structure used by open-source-ready AuraScript examples.
|
|
29
|
+
|
|
14
30
|
Controls:
|
|
15
31
|
|
|
16
32
|
- Hit notes: Left Mouse Button, `Z`, `X`, or `Space`
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": "aurajs.create-capabilities.v1",
|
|
3
|
+
"template": "example-aurasu",
|
|
4
|
+
"summary": "Aurasu rhythm runtime contract for native 2D drawing with optional asset and audio enrichment.",
|
|
5
|
+
"requiredApis": [
|
|
6
|
+
"aura.draw2d.clear",
|
|
7
|
+
"aura.draw2d.rectFill",
|
|
8
|
+
"aura.draw2d.circle",
|
|
9
|
+
"aura.draw2d.circleFill",
|
|
10
|
+
"aura.draw2d.line",
|
|
11
|
+
"aura.draw2d.text",
|
|
12
|
+
"aura.draw2d.measureText",
|
|
13
|
+
"aura.input.isKeyDown",
|
|
14
|
+
"aura.rgba"
|
|
15
|
+
],
|
|
16
|
+
"optionalModules": {
|
|
17
|
+
"physics": false,
|
|
18
|
+
"network": false,
|
|
19
|
+
"multiplayer": false,
|
|
20
|
+
"steam": false
|
|
21
|
+
},
|
|
22
|
+
"notes": [
|
|
23
|
+
"When assets and audio are available the example loads the bundled skin, background image, and soundtrack.",
|
|
24
|
+
"The game still renders a playable fallback loop with draw2d primitives even if optional asset features are unavailable."
|
|
25
|
+
]
|
|
26
|
+
}
|