asd
This commit is contained in:
43
base.tscn
43
base.tscn
@@ -2,10 +2,12 @@
|
||||
|
||||
[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="PackedScene" uid="uid://c2blpf56yvidh" path="res://scripts/components/SpawnerComponent.tscn" id="2_42dj3"]
|
||||
[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"]
|
||||
[ext_resource type="PackedScene" uid="uid://c24a65g4ixikh" path="res://scheppes_x.tscn" id="8_56f15"]
|
||||
|
||||
[sub_resource type="Curve2D" id="Curve2D_56f15"]
|
||||
resource_local_to_scene = true
|
||||
@@ -18,18 +20,39 @@ point_count = 5
|
||||
resource_local_to_scene = true
|
||||
script = ExtResource("5_42dj3")
|
||||
|
||||
[sub_resource type="Curve2D" id="Curve2D_cho24"]
|
||||
resource_local_to_scene = true
|
||||
_data = {
|
||||
"points": PackedVector2Array(0, 0, 0, 0, 39.776398, -42.15619, 0, 0, 0, 0, -45.14743, 49.220245, 0, 0, 0, 0, -2.6800537, 3.5144196, 0, 0, 0, 0, -45.14743, -41.986115, 0, 0, 0, 0, 40.02704, 49.35132)
|
||||
}
|
||||
point_count = 5
|
||||
|
||||
[sub_resource type="Resource" id="Resource_dlkme"]
|
||||
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]
|
||||
[node name="Base" type="Area2D" unique_id=1354578205 node_paths=PackedStringArray("Target", "HealthComponent", "SpawnerComponent")]
|
||||
script = ExtResource("1_21bcp")
|
||||
Target = NodePath("Selection/Target")
|
||||
HealthComponent = NodePath("HealthComponent")
|
||||
SpawnerComponent = NodePath("SpawnerComponent")
|
||||
|
||||
[node name="SpawnerComponent" parent="." unique_id=1304757964 instance=ExtResource("2_42dj3")]
|
||||
|
||||
[node name="HealthComponent" parent="." unique_id=1360050278 instance=ExtResource("6_tpea4")]
|
||||
offset_left = -99.0
|
||||
offset_right = -72.0
|
||||
|
||||
[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")]
|
||||
visible = false
|
||||
script = ExtResource("3_21bcp")
|
||||
stroke_color = Color(0.36841604, 0.683675, 0.26152232, 1)
|
||||
stroke_width = 4.0
|
||||
@@ -41,7 +64,6 @@ 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)
|
||||
@@ -52,10 +74,15 @@ sharp_limit = 90.0
|
||||
antialiased = true
|
||||
metadata/_edit_lock_ = true
|
||||
|
||||
[node name="Target" parent="Selection" unique_id=868654776 instance=ExtResource("8_56f15")]
|
||||
curve = SubResource("Curve2D_cho24")
|
||||
arc_list = SubResource("Resource_dlkme")
|
||||
|
||||
[node name="Gfx" type="Sprite2D" parent="." unique_id=1646140640]
|
||||
texture = ExtResource("1_rpg24")
|
||||
|
||||
[node name="Label" type="Label" parent="." unique_id=1802037971]
|
||||
visible = false
|
||||
anchors_preset = 5
|
||||
anchor_left = 0.5
|
||||
anchor_right = 0.5
|
||||
@@ -67,17 +94,5 @@ 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"]
|
||||
|
||||
Reference in New Issue
Block a user