challenge-editor/scene/fight.tscn
2024-09-24 17:26:44 +08:00

108 lines
3.5 KiB
Plaintext

[gd_scene load_steps=10 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"]
[ext_resource type="PackedScene" uid="uid://braadtw2q0x6u" path="res://scene/fight_character_card.tscn" id="6_5ixhk"]
[ext_resource type="PackedScene" uid="uid://dd4387syao6lj" path="res://scene/fight_enermy_card.tscn" id="7_fjnhq"]
[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="TextureRect" type="TextureRect" parent="."]
layout_mode = 0
anchor_left = 0.409896
anchor_top = 0.237963
anchor_right = 0.613542
anchor_bottom = 0.337037
offset_right = -351.0
offset_bottom = -67.0
texture = ExtResource("4_3x8hl")
metadata/_edit_use_anchors_ = true
[node name="ToolButton" parent="TextureRect" instance=ExtResource("5_cxbtq")]
layout_mode = 1
[node name="character_card_add_pos" type="HBoxContainer" parent="."]
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="fight_character_card" parent="character_card_add_pos" instance=ExtResource("6_5ixhk")]
layout_mode = 2
[node name="fight_character_card2" parent="character_card_add_pos" instance=ExtResource("6_5ixhk")]
layout_mode = 2
[node name="enermy_card_add_pos" type="HBoxContainer" parent="."]
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="fight_enermy_card" parent="enermy_card_add_pos" instance=ExtResource("7_fjnhq")]
layout_mode = 2
[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" instance=ExtResource("4_i7vc5")]
unique_name_in_owner = true
layout_mode = 1
[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
[connection signal="pressed" from="Label/ToolButton" to="." method="_on_tool_button_pressed"]