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
+1 -1
View File
@@ -9,7 +9,7 @@ enum UnitType {
@export var name: String
@export var type: UnitType
@export var icon: Texture2D
@export var health := 1
@export var health := 1.0
@export var health_increase_per_wave := 1.0
@export var damage := 1.0
@export var damage_increase_per_wave := 1.0
+2
View File
@@ -28,7 +28,9 @@ metadata/_custom_type_script = "uid://rw3gxqh858sr"
script = ExtResource("1_cx7cn")
from = 1
to = 5
wave_time = 5.0
units = Array[ExtResource("2_78wao")]([SubResource("Resource_3lh5k"), SubResource("Resource_aei4b"), SubResource("Resource_w8f67")])
spawn_type = 0
fixed_spawn_time = 0.5
min_spawn_time = 0.5
max_spawn_time = 2.0