improve ui and bug fix

This commit was merged in pull request #30.
This commit is contained in:
2026-06-06 14:19:27 +00:00
parent f049c538bd
commit d80aa93bb9
87 changed files with 1777 additions and 209 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()