From 3a93493437182a20040cd50cf83a3d3196b046fc Mon Sep 17 00:00:00 2001 From: metamuffin Date: Mon, 8 Jul 2024 20:05:39 +0200 Subject: open book menu when interacting with the tile --- client/menu/book/book.gd | 3 +++ client/menu/book/book.tscn | 1 + 2 files changed, 4 insertions(+) (limited to 'client/menu') 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 -- cgit v1.2.3-70-g09d2