connections
This commit is contained in:
58
nodule.tscn
Normal file
58
nodule.tscn
Normal file
@@ -0,0 +1,58 @@
|
||||
[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="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_7mycd"]
|
||||
resource_local_to_scene = true
|
||||
radius = 200.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")
|
||||
|
||||
[node name="Nodule" type="Area2D" unique_id=698496795 node_paths=PackedStringArray("Collision")]
|
||||
script = ExtResource("1_beybw")
|
||||
Radius = 10.0
|
||||
Collision = NodePath("Collision")
|
||||
Age = 0.5
|
||||
|
||||
[node name="Collision" type="CollisionShape2D" parent="." unique_id=402084582]
|
||||
shape = SubResource("CircleShape2D_7mycd")
|
||||
|
||||
[node name="Ellipse2" 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="Ellipse2" 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="Ellipse2" 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
|
||||
Reference in New Issue
Block a user