challenge-editor/scene/card.tscn
2024-09-25 23:56:53 +08:00

70 lines
2.9 KiB
Plaintext

[gd_scene load_steps=14 format=3 uid="uid://8a2mwnnmnecl"]
[ext_resource type="PackedScene" uid="uid://chowelwcfnsxs" path="res://scene/fight_card.tscn" id="1_nmkht"]
[ext_resource type="Script" path="res://scene/card.gd" id="1_wc0x3"]
[ext_resource type="Script" path="res://scene/card_state_machine/root.gd" id="3_k5t40"]
[ext_resource type="Script" path="res://scene/card_state_machine/getting.gd" id="4_8qagf"]
[ext_resource type="Script" path="res://scene/card_state_machine/idle.gd" id="4_p2uoy"]
[ext_resource type="Script" path="res://scene/card_state_machine/focus.gd" id="6_3e38c"]
[ext_resource type="Script" path="res://scene/card_state_machine/selected.gd" id="7_ugr71"]
[ext_resource type="Script" path="res://scene/card_state_machine/selected_back.gd" id="8_adb0l"]
[ext_resource type="Script" path="res://scene/card_state_machine/select_target.gd" id="8_kik8t"]
[ext_resource type="Script" path="res://scene/card_state_machine/queue.gd" id="8_y4vrd"]
[ext_resource type="Script" path="res://scene/card_state_machine/exe.gd" id="9_40m88"]
[ext_resource type="PackedScene" uid="uid://c7vtcaeg4nkbu" path="res://scene/card_state_machine/arrow.tscn" id="11_gjfgy"]
[ext_resource type="Script" path="res://scene/card_state_machine/discard.gd" id="12_sl7jh"]
[node name="card" type="Control"]
layout_direction = 1
layout_mode = 3
anchors_preset = 0
script = ExtResource("1_wc0x3")
[node name="arrow" parent="." instance=ExtResource("11_gjfgy")]
texture_num = 20
[node name="fight_card" parent="." instance=ExtResource("1_nmkht")]
layout_direction = 1
layout_mode = 0
offset_left = -93.0
offset_top = -127.0
offset_right = 96.0
offset_bottom = 123.0
pivot_offset = Vector2(94, 125)
metadata/_edit_pinned_properties_ = [&"layout_mode", &"pivot_offset", &"layout_direction"]
[node name="state_machine" type="Node" parent="."]
script = ExtResource("3_k5t40")
init_state = NodePath("getting")
owner_player = NodePath("..")
[node name="getting" type="Node" parent="state_machine"]
script = ExtResource("4_8qagf")
[node name="idle" type="Node" parent="state_machine"]
script = ExtResource("4_p2uoy")
[node name="focus" type="Node" parent="state_machine"]
script = ExtResource("6_3e38c")
[node name="selected" type="Node" parent="state_machine"]
script = ExtResource("7_ugr71")
[node name="select_target" type="Node" parent="state_machine"]
script = ExtResource("8_kik8t")
[node name="selected_back" type="Node" parent="state_machine"]
script = ExtResource("8_adb0l")
[node name="queue" type="Node" parent="state_machine"]
script = ExtResource("8_y4vrd")
[node name="exe" type="Node" parent="state_machine"]
script = ExtResource("9_40m88")
[node name="discard" type="Node" parent="state_machine"]
script = ExtResource("12_sl7jh")
[connection signal="mouse_entered" from="fight_card" to="." method="_on_fight_card_mouse_entered"]
[connection signal="mouse_exited" from="fight_card" to="." method="_on_fight_card_mouse_exited"]