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
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
const gameConfig = {
|
|
2
|
+
schema: 'aurajs.example-config.v1',
|
|
3
|
+
projectTitle: 'Aurasu',
|
|
4
|
+
theme: 'rhythm',
|
|
5
|
+
notes: [
|
|
6
|
+
'Gameplay tuning still lives primarily in scenes/gameplay.scene.js until a deeper open-source cleanup pass.',
|
|
7
|
+
'Use this module as the first authored home for timing windows, scoring knobs, and presentation constants.',
|
|
8
|
+
],
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
export default gameConfig;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
const beatmapContent = {
|
|
2
|
+
schema: 'aurajs.example-content.v1',
|
|
3
|
+
trackTitle: 'Aurasu',
|
|
4
|
+
assets: [
|
|
5
|
+
'Aurasu.wav',
|
|
6
|
+
'Aurasu.timing.json',
|
|
7
|
+
'Aurasu.note-timings.csv',
|
|
8
|
+
'aurasu.jpg',
|
|
9
|
+
'aurasu1.jpg',
|
|
10
|
+
],
|
|
11
|
+
notes: [
|
|
12
|
+
'The authored beatmap recipe and note generation logic still live in scenes/gameplay.scene.js.',
|
|
13
|
+
'This content module exists so the example exposes scaffold-style authored content ownership.',
|
|
14
|
+
],
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export default beatmapContent;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aurasu",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "A hit-circle rhythm game built with AuraJS.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -10,10 +10,16 @@
|
|
|
10
10
|
"bin/",
|
|
11
11
|
"src/",
|
|
12
12
|
"assets/",
|
|
13
|
-
"
|
|
13
|
+
"config/",
|
|
14
|
+
"content/",
|
|
15
|
+
"prefabs/",
|
|
16
|
+
"scenes/",
|
|
17
|
+
"ui/",
|
|
18
|
+
"aura.config.json",
|
|
19
|
+
"aura.capabilities.json"
|
|
14
20
|
],
|
|
15
21
|
"dependencies": {
|
|
16
|
-
"@auraindustry/aurajs": "0.0
|
|
22
|
+
"@auraindustry/aurajs": "0.1.0"
|
|
17
23
|
},
|
|
18
24
|
"keywords": [
|
|
19
25
|
"aurajs",
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
const playfieldPrefab = {
|
|
2
|
+
id: 'playfield',
|
|
3
|
+
kind: 'prefab',
|
|
4
|
+
role: 'world',
|
|
5
|
+
view: { kind: 'rhythm-board-2d' },
|
|
6
|
+
components: {
|
|
7
|
+
noteSurface: true,
|
|
8
|
+
cursorSurface: true,
|
|
9
|
+
},
|
|
10
|
+
hooks: {},
|
|
11
|
+
notes: [
|
|
12
|
+
'The rhythm lane visuals and cursor rendering still live in the gameplay scene runtime.',
|
|
13
|
+
'This prefab exists so the example presents scaffold-style authored world ownership.',
|
|
14
|
+
],
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export default playfieldPrefab;
|