[gd_scene format=3 uid="uid://dxfhhf4qu42bb"] [ext_resource type="Script" uid="uid://demgvopfvjmql" path="res://scripts/Base.cs" id="1_21bcp"] [ext_resource type="Texture2D" uid="uid://du7ejwu1yo0j1" path="res://assets/icon.svg" id="1_rpg24"] [ext_resource type="Script" uid="uid://de3jpss66xjfh" path="res://addons/curved_lines_2d/scalable_vector_shape_2d.gd" id="3_21bcp"] [ext_resource type="Script" uid="uid://dlbv4pit17dnu" path="res://addons/curved_lines_2d/scalable_arc.gd" id="4_tpea4"] [ext_resource type="Script" uid="uid://dl1t88tthmwts" path="res://addons/curved_lines_2d/scalable_arc_list.gd" id="5_42dj3"] [ext_resource type="PackedScene" uid="uid://dn6jqa3wj40ir" path="res://scripts/components/health_component.tscn" id="6_tpea4"] [sub_resource type="Curve2D" id="Curve2D_56f15"] resource_local_to_scene = true _data = { "points": PackedVector2Array(0, 0, 0, 56.282383, 101.90546, 0, 56.282383, 0, -56.282383, 0, 0, 101.90546, 0, 56.282383, 0, -56.282383, -101.90546, 0, -56.282383, 0, 56.282383, 0, 0, -101.90546, 0, -56.282383, 0, 0, 101.90546, 0) } point_count = 5 [sub_resource type="Resource" id="Resource_cho24"] resource_local_to_scene = true script = ExtResource("5_42dj3") [sub_resource type="LabelSettings" id="LabelSettings_rpg24"] font_size = 33 outline_size = 8 outline_color = Color(0, 0, 0, 1) [node name="Base" type="Area2D" unique_id=1354578205] script = ExtResource("1_21bcp") [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="." unique_id=1632145743] polygon = PackedVector2Array(59.1, -64, -59, -64, -63.8, -59, -64, 61, -60.3, 64, 59.6, 64, 63.9, 59, 64, -61.1) [node name="Selection" type="Node2D" parent="." unique_id=544477539 node_paths=PackedStringArray("line")] script = ExtResource("3_21bcp") stroke_color = Color(0.36841604, 0.683675, 0.26152232, 1) stroke_width = 4.0 line = NodePath("Stroke") curve = SubResource("Curve2D_56f15") update_curve_at_runtime = true arc_list = SubResource("Resource_cho24") shape_type = 2 size = Vector2(203.81091, 203.81091) rx = 101.90546 ry = 101.90546 metadata/_select_hint_ = true [node name="Stroke" type="Line2D" parent="Selection" unique_id=1625752545] points = PackedVector2Array(101.90546, 0, 101.37935, 10.4194975, 99.83516, 20.537949, 97.32412, 30.304142, 93.89744, 39.66686, 89.60633, 48.574883, 84.50201, 56.976994, 78.635704, 64.821976, 72.058624, 72.058624, 64.821976, 78.63571, 56.97699, 84.502014, 48.574883, 89.60633, 39.666855, 93.89744, 30.304142, 97.32412, 20.537949, 99.83516, 10.419497, 101.37935, 0, 101.90546, -10.4194975, 101.37935, -20.537949, 99.83516, -30.304142, 97.32412, -39.66686, 93.89744, -48.574883, 89.60633, -56.976994, 84.50201, -64.821976, 78.635704, -72.058624, 72.058624, -78.63571, 64.821976, -84.502014, 56.97699, -89.60633, 48.574883, -93.89744, 39.666855, -97.32412, 30.304142, -99.83516, 20.537949, -101.37935, 10.419497, -101.90546, 0, -101.37935, -10.4194975, -99.83516, -20.537949, -97.32412, -30.304142, -93.89744, -39.66686, -89.60633, -48.574883, -84.50201, -56.976994, -78.635704, -64.821976, -72.058624, -72.058624, -64.821976, -78.63571, -56.97699, -84.502014, -48.574883, -89.60633, -39.666855, -93.89744, -30.304142, -97.32412, -20.537949, -99.83516, -10.419497, -101.37935, 0, -101.90546, 10.4194975, -101.37935, 20.537949, -99.83516, 30.304142, -97.32412, 39.66686, -93.89744, 48.574883, -89.60633, 56.976994, -84.50201, 64.821976, -78.635704, 72.058624, -72.058624, 78.63571, -64.821976, 84.502014, -56.97699, 89.60633, -48.574883, 93.89744, -39.666855, 97.32412, -30.304142, 99.83516, -20.537949, 101.37935, -10.419497) closed = true width = 4.0 default_color = Color(0.36841604, 0.683675, 0.26152232, 1) sharp_limit = 90.0 antialiased = true metadata/_edit_lock_ = true [node name="Gfx" type="Sprite2D" parent="." unique_id=1646140640] texture = ExtResource("1_rpg24") [node name="Label" type="Label" parent="." unique_id=1802037971] anchors_preset = 5 anchor_left = 0.5 anchor_right = 0.5 offset_left = -38.0 offset_top = 65.885 offset_right = 38.0 offset_bottom = 111.88508 grow_horizontal = 2 text = "Base" label_settings = SubResource("LabelSettings_rpg24") [node name="ProgressBar" type="ProgressBar" parent="." unique_id=266338603] offset_left = -70.0 offset_top = -97.0 offset_right = 70.0 offset_bottom = -70.0 max_value = 10.0 show_percentage = false [node name="HealthComponent" parent="." unique_id=1360050278 instance=ExtResource("6_tpea4")] offset_left = -99.0 offset_right = -72.0 [connection signal="mouse_entered" from="." to="." method="_on_mouse_entered"] [connection signal="mouse_exited" from="." to="." method="_on_mouse_exited"]