[gd_scene load_steps=7 format=3 uid="uid://cpanatqdjjpa3"] [ext_resource type="Script" uid="uid://by88f32fou7lh" path="res://scripts/CSharp/Common/Fight/Fighter.cs" id="1_f3j2x"] [ext_resource type="Texture2D" uid="uid://om2axn1vfa5o" path="res://art/animation/Vesna2D/Vesna Anims Sequences/S01-Idle/0001.png" id="2_2ud32"] [ext_resource type="Texture2D" uid="uid://qlfwuakhe57t" path="res://art/ui/UI/attack_select_wheel.png" id="3_80knd"] [ext_resource type="Texture2D" uid="uid://bn56p0ytuo060" path="res://art/ui/UI/AttackButton.png" id="4_0tqnl"] [sub_resource type="CircleShape2D" id="CircleShape2D_0tqnl"] radius = 291.58 [sub_resource type="CircleShape2D" id="CircleShape2D_4r2vf"] radius = 173.44 [node name="VesnaFighter" type="Node2D" node_paths=PackedStringArray("_attackButtons", "_targetButtons", "_targetMarker", "_healthText", "_visualSprite")] script = ExtResource("1_f3j2x") name = "Vesna" maxHealth = 100 attackStrength = 10 _attackButtons = NodePath("FightButtons") _targetButtons = NodePath("TargetButtons") _targetMarker = NodePath("TargetButtons/TargetMarker") _healthText = NodePath("HealthShow") _visualSprite = NodePath("Sprite2D") [node name="Sprite2D" type="Sprite2D" parent="."] texture = ExtResource("2_2ud32") offset = Vector2(43, -379) [node name="TargetButtons" type="Node2D" parent="."] visible = false [node name="TargetMarker" type="Sprite2D" parent="TargetButtons"] visible = false z_index = 200 position = Vector2(8, -122) scale = Vector2(4.245, 4.245) texture = ExtResource("3_80knd") [node name="Area2D" type="Area2D" parent="TargetButtons"] position = Vector2(3, -76) [node name="CollisionShape2D" type="CollisionShape2D" parent="TargetButtons/Area2D"] shape = SubResource("CircleShape2D_0tqnl") [node name="FightButtons" type="Node2D" parent="."] visible = false position = Vector2(3, -714) [node name="CircleBackground" type="Sprite2D" parent="FightButtons"] z_index = 200 scale = Vector2(4.245, 4.245) texture = ExtResource("3_80knd") [node name="AttackButton" type="Node2D" parent="FightButtons"] position = Vector2(0, -536) [node name="ButtonBackground" type="Sprite2D" parent="FightButtons/AttackButton"] z_index = 200 scale = Vector2(2.48, 2.48) texture = ExtResource("4_0tqnl") [node name="Area2D" type="Area2D" parent="FightButtons/AttackButton"] collision_layer = 16 [node name="CollisionShape2D" type="CollisionShape2D" parent="FightButtons/AttackButton/Area2D"] shape = SubResource("CircleShape2D_4r2vf") [node name="HealthShow" type="Label" parent="."] z_index = 200 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = -197.0 offset_top = -947.0 offset_right = 207.0 offset_bottom = -801.0 grow_horizontal = 2 grow_vertical = 2 theme_override_font_sizes/font_size = 106 text = "100/100" horizontal_alignment = 1 vertical_alignment = 1 [connection signal="input_event" from="FightButtons/AttackButton/Area2D" to="." method="AttackMouseEvent"]