diff options
author | metamuffin <metamuffin@disroot.org> | 2024-07-07 17:45:21 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-07-07 17:45:21 +0200 |
commit | b177459b5a8dd8136bc39435f7af29d7f700f1db (patch) | |
tree | c052eaa6582f02464cb66b0cd835d3e74d963ccc | |
parent | c07a13b1099c848394f410450b4b9b5bac57f26f (diff) | |
download | hurrycurry-b177459b5a8dd8136bc39435f7af29d7f700f1db.tar hurrycurry-b177459b5a8dd8136bc39435f7af29d7f700f1db.tar.bz2 hurrycurry-b177459b5a8dd8136bc39435f7af29d7f700f1db.tar.zst |
add recipe book asseets
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | client/menu/book/book.gd | 5 | ||||
-rw-r--r-- | client/menu/book/book.tscn | 23 | ||||
-rw-r--r-- | makefile | 10 | ||||
-rw-r--r-- | readme.md | 1 |
5 files changed, 40 insertions, 0 deletions
@@ -4,3 +4,4 @@ .godot undercooked.pot *.mo +/client/menu/book/book_*.svg* diff --git a/client/menu/book/book.gd b/client/menu/book/book.gd new file mode 100644 index 00000000..2dd5a4d2 --- /dev/null +++ b/client/menu/book/book.gd @@ -0,0 +1,5 @@ +extends Menu + + +func _ready(): + pass diff --git a/client/menu/book/book.tscn b/client/menu/book/book.tscn new file mode 100644 index 00000000..d8266ed9 --- /dev/null +++ b/client/menu/book/book.tscn @@ -0,0 +1,23 @@ +[gd_scene load_steps=2 format=3 uid="uid://bdggwo8un3mys"] + +[ext_resource type="Script" path="res://menu/book/book.gd" id="1_gyisx"] + +[node name="Book" type="Control"] +layout_mode = 3 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +script = ExtResource("1_gyisx") + +[node name="ScrollContainer" type="ScrollContainer" parent="."] +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 + +[node name="VBoxContainer" type="VBoxContainer" parent="ScrollContainer"] +layout_mode = 2 diff --git a/makefile b/makefile new file mode 100644 index 00000000..1eafe733 --- /dev/null +++ b/makefile @@ -0,0 +1,10 @@ +.PHONY: client-assets clean +client-assets: client/menu/book/book_1.svg + +clean: + rm client/menu/book/book_*.svg + +client/menu/book/book_1.svg: + @echo Downloading recipe book... + @mkdir -p client/menu/book + @curl -L https://s.metamuffin.org/static/undercooked/book.svg.tar.zst | tar -xC client/menu/book @@ -6,6 +6,7 @@ A cooperative multiplayer game about cooking. ### Building +- `make client-assets` - `cd client` - Import all assets: `godot --import .` |