improve ui, bug fix and update assets

This commit is contained in:
2026-06-04 23:33:52 +02:00
parent 34ffced619
commit 5ffd92c26b
72 changed files with 1276 additions and 144 deletions

View File

@@ -2,6 +2,8 @@ extends Control
class_name GameMenuPage
func _ready() -> void:
GameState.on_game_resumed.connect(_on_game_resumed)
func show_page() -> void:
var tweens = find_children("*", "ContainerTween", true, false)
@@ -11,4 +13,12 @@ func show_page() -> void:
func hide_page() -> void:
var tweens = find_children("*", "ContainerTween", true, false)
for tween in tweens:
tween.stop_tween()
hide()
func _on_game_resumed() -> void:
var tweens = find_children("*", "ContainerTween", true, false)
for tween in tweens:
tween.stop_tween()