feat: 1.添加统计面板, 2. 游戏暂停标志 Global.paused

This commit is contained in:
luke358
2026-05-20 21:05:04 +08:00
parent 651eaf71ee
commit 4a3cd81ff7
13 changed files with 464 additions and 338 deletions
+3
View File
@@ -18,6 +18,9 @@ func _ready() -> void:
atk_start_pos = sprite_2d.position
func _process(delta: float) -> void:
if Global.game_paused:
return
if not is_attacking:
if targets.size() > 0:
update_closest_target()