challenge-editor/scene/fight.tscn
2024-10-01 19:11:46 +08:00

139 lines
4.2 KiB
Plaintext

[gd_scene load_steps=8 format=3 uid="uid://sn3v7t7xjr1o"]
[ext_resource type="Script" path="res://scene/fight.gd" id="1_1e3ie"]
[ext_resource type="Texture2D" uid="uid://b1wfklbrwhh3y" path="res://res/ui/ui_025_adventure_mode/tuceng349.png" id="1_08haj"]
[ext_resource type="Texture2D" uid="uid://cc1ldr8rx3te3" path="res://res/ui/ui_026_fight/juxing744.png" id="1_yh6pq"]
[ext_resource type="Texture2D" uid="uid://se3j07m0mm5p" path="res://res/ui/ui_026_fight/kaishizhandou.png" id="4_3x8hl"]
[ext_resource type="PackedScene" uid="uid://b6t1mn3dd73ox" path="res://scene/card_state_machine/card_machine.tscn" id="4_i7vc5"]
[ext_resource type="PackedScene" uid="uid://bdlo2wn4qnygv" path="res://scene/tool/tool_button.tscn" id="5_cxbtq"]
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_246ik"]
texture = ExtResource("1_yh6pq")
texture_margin_left = 49.247
texture_margin_top = 50.578
texture_margin_right = 67.881
texture_margin_bottom = 7.986
[node name="fight" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_1e3ie")
[node name="back" type="TextureRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("1_08haj")
expand_mode = 1
stretch_mode = 6
[node name="end_select" type="TextureRect" parent="."]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = -1
anchor_left = 0.847917
anchor_top = 0.785185
anchor_right = 0.957812
anchor_bottom = 0.844444
texture = ExtResource("4_3x8hl")
expand_mode = 2
stretch_mode = 4
metadata/_edit_use_anchors_ = true
[node name="end_select" parent="end_select" instance=ExtResource("5_cxbtq")]
layout_mode = 1
[node name="character_card_add_pos" type="HBoxContainer" parent="."]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = -1
anchor_left = 0.0260417
anchor_top = 0.45463
anchor_right = 0.984896
anchor_bottom = 0.686111
theme_override_constants/separation = 20
metadata/_edit_use_anchors_ = true
[node name="enermy_card_add_pos" type="HBoxContainer" parent="."]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = -1
anchor_left = 0.0260417
anchor_right = 0.986979
anchor_bottom = 0.231481
theme_override_constants/separation = 20
alignment = 2
metadata/_edit_use_anchors_ = true
[node name="Panel" type="Panel" parent="."]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.0260417
anchor_top = 0.728704
anchor_right = 0.833854
anchor_bottom = 0.960185
theme_override_styles/panel = SubResource("StyleBoxTexture_246ik")
metadata/_edit_use_anchors_ = true
[node name="card_machine" parent="Panel" node_paths=PackedStringArray("release_card_pos", "exe_card_pos") instance=ExtResource("4_i7vc5")]
unique_name_in_owner = true
layout_mode = 1
release_card_pos = NodePath("../../release_mark")
exe_card_pos = NodePath("../../exe_mark")
[node name="Label" type="Label" parent="."]
layout_mode = 0
offset_right = 239.0
offset_bottom = 80.0
text = "添加卡牌"
horizontal_alignment = 1
vertical_alignment = 1
[node name="ToolButton" parent="Label" instance=ExtResource("5_cxbtq")]
layout_mode = 1
[node name="Label2" type="Label" parent="."]
layout_mode = 0
offset_right = 239.0
offset_bottom = 80.0
text = "添加卡牌"
horizontal_alignment = 1
vertical_alignment = 1
[node name="debug_win" parent="Label2" instance=ExtResource("5_cxbtq")]
layout_mode = 1
anchors_preset = -1
anchor_left = 1.0
anchor_right = 2.0
text = "获胜"
metadata/_edit_use_anchors_ = true
[node name="release_mark" type="Control" parent="."]
layout_mode = 1
anchor_left = 0.04375
anchor_top = 0.337037
anchor_right = 0.0645833
anchor_bottom = 0.374074
grow_vertical = 2
metadata/_edit_use_anchors_ = true
[node name="exe_mark" type="Control" parent="."]
layout_mode = 1
anchor_left = 0.471875
anchor_top = 0.337037
anchor_right = 0.492709
anchor_bottom = 0.374074
grow_vertical = 2
metadata/_edit_use_anchors_ = true
[connection signal="pressed" from="end_select/end_select" to="." method="_on_end_select_pressed"]
[connection signal="pressed" from="Label/ToolButton" to="." method="_on_tool_button_pressed"]
[connection signal="pressed" from="Label2/debug_win" to="." method="_on_debug_win_pressed"]