fuzzyworld

godot-shooter / commit

Deploy to apps.fuzzyworld.net with fuzzyworld-tools

6b68bafde78642140caefed4cddd38012ba93aa0 · Pavel Safronov · 2026-10-26 18:51:28 -0700 · parents 56eea8355635

Deploy to apps.fuzzyworld.net with fuzzyworld-tools

Adds a package.json with the fuzzyworld section and a deploy script (npx fuzzyworld-tools), and points gitlab.io / gitlab.com links at apps.fuzzyworld.net and code.fuzzyworld.net.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
 README.md        |  2 +-
 actors/Player.gd |  2 +-
 package.json     | 14 ++++++++++++++
 3 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 0ef09ae..0500922 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
 # Godot Shooter
 
-Play the game here: [https://pavelsafronov.gitlab.io/godot-shooter/](https://pavelsafronov.gitlab.io/godot-shooter/).
+Play the game here: [https://apps.fuzzyworld.net/godot-shooter/](https://apps.fuzzyworld.net/godot-shooter/).
 
 ## Description
 
diff --git a/actors/Player.gd b/actors/Player.gd
index 73ceef2..e9cb1f3 100644
--- a/actors/Player.gd
+++ b/actors/Player.gd
@@ -260,7 +260,7 @@ func add_high_score(new_score: int) -> void:
 
 func _on_LinkButton_pressed() -> void:
 	get_tree().paused = true
-	var _err = OS.shell_open("https://gitlab.com/PavelSafronov/godot-shooter")
+	var _err = OS.shell_open("https://code.fuzzyworld.net/godot-shooter/")
 	get_tree().paused = true
 
 func _on_HUD_position_set(event_pos: Vector2) -> void:
diff --git a/package.json b/package.json
new file mode 100644
index 0000000..4c5b566
--- /dev/null
+++ b/package.json
@@ -0,0 +1,14 @@
+{
+  "name": "godot-shooter",
+  "private": true,
+  "scripts": {
+    "deploy": "npx --yes -p git+https://code.fuzzyworld.net/fuzzyworld-tools.git#semver:^1.0.0 fw deploy"
+  },
+  "fuzzyworld": {
+    "app": "godot-shooter",
+    "title": "godot-shooter",
+    "checks": [],
+    "build": "mkdir -p build/web && \"${GODOT:-/Applications/Godot3.5.app/Contents/MacOS/Godot}\" --no-window --export \"HTML5\" ./build/web/index.html",
+    "out": "build/web"
+  }
+}