You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
73 lines
3.0 KiB
73 lines
3.0 KiB
[gd_scene load_steps=9 format=3 uid="uid://7jsxokx67gpq"]
|
|
|
|
[ext_resource type="Script" uid="uid://by88f32fou7lh" path="res://scripts/CSharp/Common/Fight/FighterVisual.cs" id="1_hai27"]
|
|
[ext_resource type="Texture2D" uid="uid://f7htcxiwvuup" path="res://art/animation/vesna/Side/S01-Idle/0001.png" id="2_6l7g5"]
|
|
[ext_resource type="Script" uid="uid://boprnfciqgixf" path="res://scripts/CSharp/Common/Fight/UI/TargetSelectionClick.cs" id="3_wil2y"]
|
|
[ext_resource type="Texture2D" uid="uid://qlfwuakhe57t" path="res://art/ui/UI/attack_select_wheel.png" id="4_8ldlc"]
|
|
[ext_resource type="Script" uid="uid://b2dx06p6i7pu0" path="res://scripts/CSharp/Common/Fight/UI/FighterHealthBarVisual.cs" id="5_xv37w"]
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_wil2y"]
|
|
atlas = ExtResource("2_6l7g5")
|
|
region = Rect2(60.818, 51.0213, 660.226, 945.537)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_6l7g5"]
|
|
size = Vector2(250, 401)
|
|
|
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_6l7g5"]
|
|
radius = 173.0
|
|
height = 588.0
|
|
|
|
[node name="VesnaFighterVisual" type="Node2D" node_paths=PackedStringArray("_visualParent", "_targetSelectionParent", "healthBarVisual")]
|
|
script = ExtResource("1_hai27")
|
|
_visualParent = NodePath("Visuals")
|
|
_targetSelectionParent = NodePath("TargetSelection")
|
|
healthBarVisual = NodePath("HealthBar")
|
|
|
|
[node name="Visuals" type="Node2D" parent="."]
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="Visuals"]
|
|
position = Vector2(-31, -199)
|
|
scale = Vector2(0.451719, 0.451719)
|
|
texture = SubResource("AtlasTexture_wil2y")
|
|
|
|
[node name="ChacacterSizeIndicator" type="CollisionShape2D" parent="Visuals"]
|
|
editor_description = "This is a reference to the space, a normal sized humanoid character should occupy"
|
|
visible = false
|
|
position = Vector2(0, -200.5)
|
|
shape = SubResource("RectangleShape2D_6l7g5")
|
|
|
|
[node name="TargetSelection" type="Node2D" parent="."]
|
|
process_mode = 4
|
|
visible = false
|
|
|
|
[node name="Click" type="Area2D" parent="TargetSelection"]
|
|
script = ExtResource("3_wil2y")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="TargetSelection/Click"]
|
|
position = Vector2(-3, -195)
|
|
shape = SubResource("CapsuleShape2D_6l7g5")
|
|
|
|
[node name="HoverIndicator" type="Node2D" parent="TargetSelection"]
|
|
visible = false
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="TargetSelection/HoverIndicator"]
|
|
position = Vector2(-3, -227)
|
|
scale = Vector2(1.65625, 1.65625)
|
|
texture = ExtResource("4_8ldlc")
|
|
|
|
[node name="HealthBar" type="Node2D" parent="." node_paths=PackedStringArray("_tmpHealthLabel")]
|
|
script = ExtResource("5_xv37w")
|
|
_tmpHealthLabel = NodePath("tmpLabel")
|
|
|
|
[node name="tmpLabel" type="Label" parent="HealthBar"]
|
|
offset_left = -110.0
|
|
offset_top = -528.0
|
|
offset_right = 111.0
|
|
offset_bottom = -431.0
|
|
theme_override_font_sizes/font_size = 71
|
|
text = "xx / xx"
|
|
|
|
[connection signal="TargetSelected" from="TargetSelection/Click" to="." method="ClickedTarget"]
|
|
[connection signal="mouse_entered" from="TargetSelection/Click" to="TargetSelection/HoverIndicator" method="show"]
|
|
[connection signal="mouse_exited" from="TargetSelection/Click" to="TargetSelection/HoverIndicator" method="hide"]
|