diff options
author | metamuffin <metamuffin@disroot.org> | 2024-07-11 22:48:46 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-07-11 22:48:46 +0200 |
commit | 678e1f329aecd2afd680d5740d89aa83eccb1cf4 (patch) | |
tree | 146e6b2d5301bf9302601336569c696dd4d82026 | |
parent | f042918d886720c523e802bb90e18297c82a436b (diff) | |
download | hurrycurry-678e1f329aecd2afd680d5740d89aa83eccb1cf4.tar hurrycurry-678e1f329aecd2afd680d5740d89aa83eccb1cf4.tar.bz2 hurrycurry-678e1f329aecd2afd680d5740d89aa83eccb1cf4.tar.zst |
make book webp instead of svg
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | client/menu/book/book.gd | 2 | ||||
-rw-r--r-- | makefile | 8 |
3 files changed, 6 insertions, 6 deletions
@@ -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 @@ -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 |