nice crooked connections und energy UI
This commit is contained in:
31
nodule.tscn
31
nodule.tscn
@@ -2,12 +2,15 @@
|
||||
|
||||
[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="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="RectangleShape2D" id="RectangleShape2D_bv6fd"]
|
||||
size = Vector2(150, 150)
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_k6tuy"]
|
||||
radius = 140.0
|
||||
|
||||
[sub_resource type="Curve2D" id="Curve2D_272bh"]
|
||||
resource_local_to_scene = true
|
||||
@@ -20,16 +23,24 @@ point_count = 5
|
||||
resource_local_to_scene = true
|
||||
script = ExtResource("4_qiyup")
|
||||
|
||||
[node name="Nodule" type="Area2D" unique_id=698496795 node_paths=PackedStringArray("Collision")]
|
||||
[node name="Nodule" type="Area2D" unique_id=698496795]
|
||||
script = ExtResource("1_beybw")
|
||||
Radius = 10.0
|
||||
Collision = NodePath("Collision")
|
||||
_noduleType = 1
|
||||
Age = 0.5
|
||||
RootScene = ExtResource("2_k6tuy")
|
||||
|
||||
[node name="Collision" type="CollisionShape2D" parent="." unique_id=402084582]
|
||||
shape = SubResource("CircleShape2D_7mycd")
|
||||
rotation = 0.7853982
|
||||
shape = SubResource("RectangleShape2D_bv6fd")
|
||||
|
||||
[node name="Ellipse2" type="Node2D" parent="." unique_id=1962026750 node_paths=PackedStringArray("polygon", "line")]
|
||||
[node name="Collision2" type="CollisionShape2D" parent="." unique_id=1073775238]
|
||||
shape = SubResource("RectangleShape2D_bv6fd")
|
||||
|
||||
[node name="BaseCollision" type="CollisionShape2D" parent="." unique_id=1607878878]
|
||||
shape = SubResource("CircleShape2D_k6tuy")
|
||||
disabled = true
|
||||
|
||||
[node name="Gfx" type="Node2D" parent="." unique_id=1962026750 node_paths=PackedStringArray("polygon", "line")]
|
||||
z_index = 10
|
||||
script = ExtResource("2_cahmm")
|
||||
polygon = NodePath("Fill")
|
||||
@@ -44,12 +55,12 @@ size = Vector2(20, 20)
|
||||
rx = 10.0
|
||||
ry = 10.0
|
||||
|
||||
[node name="Fill" type="Polygon2D" parent="Ellipse2" unique_id=1355608579]
|
||||
[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="Ellipse2" unique_id=1428670823]
|
||||
[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
|
||||
|
||||
Reference in New Issue
Block a user