aboutsummaryrefslogtreecommitdiff
path: root/client/menu
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-07-08 20:05:39 +0200
committermetamuffin <metamuffin@disroot.org>2024-07-08 20:05:39 +0200
commit3a93493437182a20040cd50cf83a3d3196b046fc (patch)
treeba561e6e5438c5570a56bf6342b8d315c24e29dc /client/menu
parentc0d4eb9da614c02dc5dc4a15db420014f592ba45 (diff)
downloadhurrycurry-3a93493437182a20040cd50cf83a3d3196b046fc.tar
hurrycurry-3a93493437182a20040cd50cf83a3d3196b046fc.tar.bz2
hurrycurry-3a93493437182a20040cd50cf83a3d3196b046fc.tar.zst
open book menu when interacting with the tile
Diffstat (limited to 'client/menu')
-rw-r--r--client/menu/book/book.gd3
-rw-r--r--client/menu/book/book.tscn1
2 files changed, 4 insertions, 0 deletions
diff --git a/client/menu/book/book.gd b/client/menu/book/book.gd
index 5c5723c9..1e0620af 100644
--- a/client/menu/book/book.gd
+++ b/client/menu/book/book.gd
@@ -21,3 +21,6 @@ func _ready():
var texture = TextureRect.new()
texture.texture = load("res://menu/book/book_%d.svg" % i)
$ScrollContainer/VBoxContainer.add_child(texture)
+
+func menu_anim_open(): pass
+func menu_anim_exit(): pass
diff --git a/client/menu/book/book.tscn b/client/menu/book/book.tscn
index 2a908c54..baacf099 100644
--- a/client/menu/book/book.tscn
+++ b/client/menu/book/book.tscn
@@ -10,6 +10,7 @@ anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_gyisx")
+support_anim = false
[node name="ScrollContainer" type="ScrollContainer" parent="."]
layout_mode = 1