72 lines
5.3 KiB
Plaintext
72 lines
5.3 KiB
Plaintext
[gd_scene format=3 uid="uid://cb07jvtr8x7i1"]
|
|
|
|
[ext_resource type="Script" uid="uid://7em4o0ud8sgj" path="res://Nodule.cs" id="1_beybw"]
|
|
[ext_resource type="Script" uid="uid://de3jpss66xjfh" path="res://addons/curved_lines_2d/scalable_vector_shape_2d.gd" id="2_cahmm"]
|
|
[ext_resource type="PackedScene" uid="uid://cd47em5shcnid" path="res://Root.tscn" id="2_k6tuy"]
|
|
[ext_resource type="PackedScene" uid="uid://c4oxc6kyp3muy" path="res://ConnectionArea.tscn" id="3_0cigu"]
|
|
[ext_resource type="Script" uid="uid://dlbv4pit17dnu" path="res://addons/curved_lines_2d/scalable_arc.gd" id="3_fnyqb"]
|
|
[ext_resource type="Script" uid="uid://dl1t88tthmwts" path="res://addons/curved_lines_2d/scalable_arc_list.gd" id="4_qiyup"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_k6tuy"]
|
|
radius = 140.0
|
|
|
|
[sub_resource type="Curve2D" id="Curve2D_272bh"]
|
|
resource_local_to_scene = true
|
|
_data = {
|
|
"points": PackedVector2Array(0, 0, 0, 5.523, 10, 0, 5.523, 0, -5.523, 0, 0, 10, 0, 5.523, 0, -5.523, -10, 0, -5.523, 0, 5.523, 0, 0, -10, 0, -5.523, 0, 0, 10, 0)
|
|
}
|
|
point_count = 5
|
|
|
|
[sub_resource type="Resource" id="Resource_5vw27"]
|
|
resource_local_to_scene = true
|
|
script = ExtResource("4_qiyup")
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_8l2gl"]
|
|
radius = 18.027756
|
|
|
|
[node name="Nodule" type="Area2D" unique_id=698496795]
|
|
script = ExtResource("1_beybw")
|
|
_noduleType = 1
|
|
Age = 0.5
|
|
RootScene = ExtResource("2_k6tuy")
|
|
|
|
[node name="BaseCollision" type="CollisionShape2D" parent="." unique_id=1607878878]
|
|
shape = SubResource("CircleShape2D_k6tuy")
|
|
disabled = true
|
|
|
|
[node name="ConnectionArea" parent="." unique_id=943082837 instance=ExtResource("3_0cigu")]
|
|
|
|
[node name="Gfx" type="Node2D" parent="." unique_id=1962026750 node_paths=PackedStringArray("polygon", "line")]
|
|
z_index = 10
|
|
script = ExtResource("2_cahmm")
|
|
polygon = NodePath("Fill")
|
|
stroke_color = Color(0, 0, 0, 1)
|
|
stroke_width = 4.0
|
|
line = NodePath("Stroke")
|
|
curve = SubResource("Curve2D_272bh")
|
|
update_curve_at_runtime = true
|
|
arc_list = SubResource("Resource_5vw27")
|
|
shape_type = 2
|
|
size = Vector2(20, 20)
|
|
rx = 10.0
|
|
ry = 10.0
|
|
|
|
[node name="Fill" type="Polygon2D" parent="Gfx" unique_id=1355608579]
|
|
color = Color(0.21759033, 0.88248014, 0.8984375, 1)
|
|
polygon = PackedVector2Array(10, 0, 9.948373, 1.022467, 9.796842, 2.0153925, 9.550433, 2.9737506, 9.214172, 3.8925154, 8.793085, 4.766661, 8.292197, 5.5911617, 7.7165356, 6.3609915, 7.071125, 7.071125, 6.360992, 7.7165356, 5.591162, 8.292197, 4.766661, 8.793085, 3.8925154, 9.214172, 2.9737508, 9.550432, 2.0153925, 9.796842, 1.022467, 9.948373, 0, 10, -1.022467, 9.948373, -2.0153925, 9.796842, -2.9737506, 9.550433, -3.8925154, 9.214172, -4.766661, 8.793085, -5.5911617, 8.292197, -6.3609915, 7.7165356, -7.071125, 7.071125, -7.7165356, 6.360992, -8.292197, 5.591162, -8.793085, 4.766661, -9.214172, 3.8925154, -9.550432, 2.9737508, -9.796842, 2.0153925, -9.948373, 1.022467, -10, 0, -9.948373, -1.022467, -9.796842, -2.0153925, -9.550433, -2.9737506, -9.214172, -3.8925154, -8.793085, -4.766661, -8.292197, -5.5911617, -7.7165356, -6.3609915, -7.071125, -7.071125, -6.360992, -7.7165356, -5.591162, -8.292197, -4.766661, -8.793085, -3.8925154, -9.214172, -2.9737508, -9.550432, -2.0153925, -9.796842, -1.022467, -9.948373, 0, -10, 1.022467, -9.948373, 2.0153925, -9.796842, 2.9737506, -9.550433, 3.8925154, -9.214172, 4.766661, -8.793085, 5.5911617, -8.292197, 6.3609915, -7.7165356, 7.071125, -7.071125, 7.7165356, -6.360992, 8.292197, -5.591162, 8.793085, -4.766661, 9.214172, -3.8925154, 9.550432, -2.9737508, 9.796842, -2.0153925, 9.948373, -1.022467)
|
|
metadata/_edit_lock_ = true
|
|
|
|
[node name="Stroke" type="Line2D" parent="Gfx" unique_id=1428670823]
|
|
points = PackedVector2Array(10, 0, 9.948373, 1.022467, 9.796842, 2.0153925, 9.550433, 2.9737506, 9.214172, 3.8925154, 8.793085, 4.766661, 8.292197, 5.5911617, 7.7165356, 6.3609915, 7.071125, 7.071125, 6.360992, 7.7165356, 5.591162, 8.292197, 4.766661, 8.793085, 3.8925154, 9.214172, 2.9737508, 9.550432, 2.0153925, 9.796842, 1.022467, 9.948373, 0, 10, -1.022467, 9.948373, -2.0153925, 9.796842, -2.9737506, 9.550433, -3.8925154, 9.214172, -4.766661, 8.793085, -5.5911617, 8.292197, -6.3609915, 7.7165356, -7.071125, 7.071125, -7.7165356, 6.360992, -8.292197, 5.591162, -8.793085, 4.766661, -9.214172, 3.8925154, -9.550432, 2.9737508, -9.796842, 2.0153925, -9.948373, 1.022467, -10, 0, -9.948373, -1.022467, -9.796842, -2.0153925, -9.550433, -2.9737506, -9.214172, -3.8925154, -8.793085, -4.766661, -8.292197, -5.5911617, -7.7165356, -6.3609915, -7.071125, -7.071125, -6.360992, -7.7165356, -5.591162, -8.292197, -4.766661, -8.793085, -3.8925154, -9.214172, -2.9737508, -9.550432, -2.0153925, -9.796842, -1.022467, -9.948373, 0, -10, 1.022467, -9.948373, 2.0153925, -9.796842, 2.9737506, -9.550433, 3.8925154, -9.214172, 4.766661, -8.793085, 5.5911617, -8.292197, 6.3609915, -7.7165356, 7.071125, -7.071125, 7.7165356, -6.360992, 8.292197, -5.591162, 8.793085, -4.766661, 9.214172, -3.8925154, 9.550432, -2.9737508, 9.796842, -2.0153925, 9.948373, -1.022467)
|
|
closed = true
|
|
width = 4.0
|
|
default_color = Color(0, 0, 0, 1)
|
|
sharp_limit = 90.0
|
|
metadata/_edit_lock_ = true
|
|
|
|
[node name="GrowArea" type="Area2D" parent="." unique_id=1372859589]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="GrowArea" unique_id=270303533]
|
|
shape = SubResource("CircleShape2D_8l2gl")
|
|
debug_color = Color(0.92081034, 0.076709054, 0.6616314, 0.41960785)
|