|
|
|
@ -2,20 +2,14 @@
|
|
|
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://Scenes/BattleScene.cs" id="1_n6bn7"]
|
|
|
|
|
|
|
|
|
|
[node name="BattleScene" type="Control"]
|
|
|
|
|
layout_mode = 3
|
|
|
|
|
anchors_preset = 15
|
|
|
|
|
anchor_right = 1.0
|
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
|
grow_horizontal = 2
|
|
|
|
|
grow_vertical = 2
|
|
|
|
|
[node name="BattleScene" type="Node2D"]
|
|
|
|
|
script = ExtResource("1_n6bn7")
|
|
|
|
|
|
|
|
|
|
[node name="Camera2D" type="Camera2D" parent="."]
|
|
|
|
|
|
|
|
|
|
[node name="Characters" type="Node2D" parent="."]
|
|
|
|
|
[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="Camera2D"]
|
|
|
|
|
|
|
|
|
|
[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."]
|
|
|
|
|
[node name="Characters" type="Node2D" parent="."]
|
|
|
|
|
|
|
|
|
|
[node name="CanvasLayer" type="CanvasLayer" parent="."]
|
|
|
|
|
|
|
|
|
@ -34,7 +28,7 @@ offset_right = 41.0
|
|
|
|
|
offset_bottom = 26.0
|
|
|
|
|
text = "00:00"
|
|
|
|
|
|
|
|
|
|
[node name="ButtonBattlePause" type="Button" parent="CanvasLayer/HUD"]
|
|
|
|
|
[node name="ButtonPauseBattle" type="Button" parent="CanvasLayer/HUD"]
|
|
|
|
|
layout_mode = 1
|
|
|
|
|
anchors_preset = 7
|
|
|
|
|
anchor_left = 0.5
|
|
|
|
@ -46,6 +40,7 @@ offset_top = -23.0
|
|
|
|
|
offset_right = 20.0
|
|
|
|
|
grow_horizontal = 2
|
|
|
|
|
grow_vertical = 0
|
|
|
|
|
focus_mode = 0
|
|
|
|
|
text = "按下 Space 暂停时间"
|
|
|
|
|
|
|
|
|
|
[connection signal="pressed" from="CanvasLayer/HUD/ButtonBattlePause" to="." method="_On_ButtonBattlePause_Pressed"]
|
|
|
|
|
[connection signal="pressed" from="CanvasLayer/HUD/ButtonPauseBattle" to="." method="On_ButtonPauseBattle_Pressed"]
|
|
|
|
|