diff --git a/package-lock.json b/package-lock.json index b452ce3..1c054f6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,7 +20,7 @@ "@newrelic/browser-agent": "^1.302.0", "loglevel": "^1.9.2", "openai": "4.52.3", - "svelte-spa-router": "^4.0.1" + "svelte-routing": "^2.13.0" }, "devDependencies": { "@sveltejs/vite-plugin-svelte": "^6.2.1", @@ -1612,15 +1612,6 @@ "node": "^10 || ^12 || >=14" } }, - "node_modules/regexparam": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/regexparam/-/regexparam-2.0.2.tgz", - "integrity": "sha512-A1PeDEYMrkLrfyOwv2jwihXbo9qxdGD3atBYQA9JJgreAx8/7rC6IUkWOw2NQlOxLp2wL0ifQbh1HuidDfYA6w==", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, "node_modules/resolve-pkg-maps": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz", @@ -1761,17 +1752,11 @@ } } }, - "node_modules/svelte-spa-router": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/svelte-spa-router/-/svelte-spa-router-4.0.1.tgz", - "integrity": "sha512-2JkmUQ2f9jRluijL58LtdQBIpynSbem2eBGp4zXdi7aDY1znbR6yjw0KsonD0aq2QLwf4Yx4tBJQjxIjgjXHKg==", - "license": "MIT", - "dependencies": { - "regexparam": "2.0.2" - }, - "funding": { - "url": "https://github.com/sponsors/ItalyPaleAle" - } + "node_modules/svelte-routing": { + "version": "2.13.0", + "resolved": "https://registry.npmjs.org/svelte-routing/-/svelte-routing-2.13.0.tgz", + "integrity": "sha512-/NTxqTwLc7Dq306hARJrH2HLXOBtKd7hu8nxgoFDlK0AC4SOKnzisiX/9m8Uksei1QAWtlAEdF91YphNM8iDMg==", + "license": "MIT" }, "node_modules/tinyglobby": { "version": "0.2.15", diff --git a/package.json b/package.json index cff7e2c..54a51cb 100644 --- a/package.json +++ b/package.json @@ -25,9 +25,9 @@ "@babylonjs/procedural-textures": "8.36.1", "@babylonjs/serializers": "8.36.1", "@newrelic/browser-agent": "^1.302.0", - "openai": "4.52.3", "loglevel": "^1.9.2", - "svelte-spa-router": "^4.0.1" + "openai": "4.52.3", + "svelte-routing": "^2.13.0" }, "devDependencies": { "@sveltejs/vite-plugin-svelte": "^6.2.1", diff --git a/public/8192.webp b/public/8192.webp deleted file mode 100644 index 1d30ca6..0000000 Binary files a/public/8192.webp and /dev/null differ diff --git a/public/background.mp3 b/public/assets/themes/default/audio/background.mp3 similarity index 100% rename from public/background.mp3 rename to public/assets/themes/default/audio/background.mp3 diff --git a/public/shot.mp3 b/public/assets/themes/default/audio/shot.mp3 similarity index 100% rename from public/shot.mp3 rename to public/assets/themes/default/audio/shot.mp3 diff --git a/public/shot2.mp3 b/public/assets/themes/default/audio/shot2.mp3 similarity index 100% rename from public/shot2.mp3 rename to public/assets/themes/default/audio/shot2.mp3 diff --git a/public/song1.mp3 b/public/assets/themes/default/audio/song1.mp3 similarity index 100% rename from public/song1.mp3 rename to public/assets/themes/default/audio/song1.mp3 diff --git a/public/asteroid4.glb b/public/assets/themes/default/models/asteroid4.glb similarity index 100% rename from public/asteroid4.glb rename to public/assets/themes/default/models/asteroid4.glb diff --git a/public/flare.png b/public/flare.png deleted file mode 100644 index 462acb9..0000000 Binary files a/public/flare.png and /dev/null differ diff --git a/public/thrust.mp3 b/public/thrust.mp3 deleted file mode 100644 index 797dd7c..0000000 Binary files a/public/thrust.mp3 and /dev/null differ diff --git a/public/thrust2.mp3 b/public/thrust2.mp3 deleted file mode 100644 index b34850d..0000000 Binary files a/public/thrust2.mp3 and /dev/null differ diff --git a/public/thrust3.mp3 b/public/thrust3.mp3 deleted file mode 100644 index 445f830..0000000 Binary files a/public/thrust3.mp3 and /dev/null differ diff --git a/public/thrust4.mp3 b/public/thrust4.mp3 deleted file mode 100644 index eceeb28..0000000 Binary files a/public/thrust4.mp3 and /dev/null differ diff --git a/public/thrust5.mp3 b/public/thrust5.mp3 deleted file mode 100644 index 011e4e9..0000000 Binary files a/public/thrust5.mp3 and /dev/null differ diff --git a/public/thust2.mp3 b/public/thust2.mp3 deleted file mode 100644 index 3dfe75f..0000000 Binary files a/public/thust2.mp3 and /dev/null differ diff --git a/public/yehrat.mp3 b/public/yehrat.mp3 deleted file mode 100644 index 5e54c3e..0000000 Binary files a/public/yehrat.mp3 and /dev/null differ diff --git a/src/components/controls/ControlsScreen.svelte b/src/components/controls/ControlsScreen.svelte index 44e728a..d209311 100644 --- a/src/components/controls/ControlsScreen.svelte +++ b/src/components/controls/ControlsScreen.svelte @@ -1,6 +1,6 @@
- ← Back to Game + ← Back to Game

🎮 Controller Mapping

Customize VR controller button and stick mappings

diff --git a/src/components/editor/LevelEditor.svelte b/src/components/editor/LevelEditor.svelte index 0c10cff..0fbd6fc 100644 --- a/src/components/editor/LevelEditor.svelte +++ b/src/components/editor/LevelEditor.svelte @@ -1,5 +1,5 @@
- ← Back to Game + ← Back to Game

📝 Level Editor

Create and customize your own asteroid field levels

diff --git a/src/components/game/LevelCard.svelte b/src/components/game/LevelCard.svelte index 26f5e7b..81ebc77 100644 --- a/src/components/game/LevelCard.svelte +++ b/src/components/game/LevelCard.svelte @@ -1,4 +1,5 @@ + + +
+ {#if error} +
+

Error Loading Level

+

{error}

+

Returning to level select...

+
+ {/if} +
+ + diff --git a/src/components/layouts/App.svelte b/src/components/layouts/App.svelte index 681074d..709160b 100644 --- a/src/components/layouts/App.svelte +++ b/src/components/layouts/App.svelte @@ -1,34 +1,17 @@ -
- + +
+ -
- +
+ + + + + + + +
-
+