summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-07-11 22:48:46 +0200
committermetamuffin <metamuffin@disroot.org>2024-07-11 22:48:46 +0200
commit678e1f329aecd2afd680d5740d89aa83eccb1cf4 (patch)
tree146e6b2d5301bf9302601336569c696dd4d82026
parentf042918d886720c523e802bb90e18297c82a436b (diff)
downloadhurrycurry-678e1f329aecd2afd680d5740d89aa83eccb1cf4.tar
hurrycurry-678e1f329aecd2afd680d5740d89aa83eccb1cf4.tar.bz2
hurrycurry-678e1f329aecd2afd680d5740d89aa83eccb1cf4.tar.zst
make book webp instead of svg
-rw-r--r--.gitignore2
-rw-r--r--client/menu/book/book.gd2
-rw-r--r--makefile8
3 files changed, 6 insertions, 6 deletions
diff --git a/.gitignore b/.gitignore
index 5851a135..97724184 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,4 +4,4 @@
.godot
hurrycurry.pot
*.mo
-/client/menu/book/book_*.svg*
+/client/menu/book/book_*.webp*
diff --git a/client/menu/book/book.gd b/client/menu/book/book.gd
index 1e0620af..594d0a4b 100644
--- a/client/menu/book/book.gd
+++ b/client/menu/book/book.gd
@@ -19,7 +19,7 @@ func _ready():
super()
for i in range(1, 6):
var texture = TextureRect.new()
- texture.texture = load("res://menu/book/book_%d.svg" % i)
+ texture.texture = load("res://menu/book/book_%d.webp" % i)
$ScrollContainer/VBoxContainer.add_child(texture)
func menu_anim_open(): pass
diff --git a/makefile b/makefile
index baa4ec2e..b9ddea19 100644
--- a/makefile
+++ b/makefile
@@ -1,10 +1,10 @@
.PHONY: client-assets clean
-client-assets: client/menu/book/book_1.svg
+client-assets: client/menu/book/book_1.webp
clean:
- rm client/menu/book/book_*.svg
+ rm client/menu/book/book_*.webp
-client/menu/book/book_1.svg:
+client/menu/book/book_1.webp:
@echo Downloading recipe book...
@mkdir -p client/menu/book
- @curl -L https://s.metamuffin.org/static/hurrycurry/book.svg.tar.zst | tar -xC client/menu/book
+ @curl -L https://s.metamuffin.org/static/hurrycurry/book.webp.tar.zst | tar -xC client/menu/book