94 lines
2.8 KiB
Plaintext
94 lines
2.8 KiB
Plaintext
[gd_scene format=3 uid="uid://cnl6t8o4mh0j3"]
|
|
|
|
[ext_resource type="Script" uid="uid://cmpl0if164dba" path="res://src/Gameplay/Nodules/Nodule.cs" id="1_yembh"]
|
|
[ext_resource type="Texture2D" uid="uid://cecg47efx7gw8" path="res://assets/simple_nodule.png" id="2_7qt20"]
|
|
[ext_resource type="PackedScene" uid="uid://c11xdoiv2ch3w" path="res://src/Gameplay/Nodules/Mitochondria.tscn" id="3_x44k2"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_7qt20"]
|
|
radius = 15.0
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_7qt20"]
|
|
atlas = ExtResource("2_7qt20")
|
|
region = Rect2(32, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_x44k2"]
|
|
atlas = ExtResource("2_7qt20")
|
|
region = Rect2(0, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_inlcu"]
|
|
atlas = ExtResource("2_7qt20")
|
|
region = Rect2(64, 0, 32, 32)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_xyjsl"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_7qt20")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_x44k2")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_inlcu")
|
|
}],
|
|
"loop": 1,
|
|
"name": &"default",
|
|
"speed": 2.0
|
|
}]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_x44k2"]
|
|
radius = 96.38
|
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_x44k2"]
|
|
font_size = 12
|
|
outline_size = 3
|
|
outline_color = Color(0, 0, 0, 1)
|
|
shadow_size = 3
|
|
shadow_color = Color(0, 0, 0, 1)
|
|
|
|
[node name="Nodule" type="Node2D" unique_id=1637542829]
|
|
z_index = 1
|
|
script = ExtResource("1_yembh")
|
|
|
|
[node name="ClickArea" type="Area2D" parent="." unique_id=120357381]
|
|
unique_name_in_owner = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="ClickArea" unique_id=2005066434]
|
|
shape = SubResource("CircleShape2D_7qt20")
|
|
|
|
[node name="Gfx" type="AnimatedSprite2D" parent="." unique_id=190397869]
|
|
unique_name_in_owner = true
|
|
texture_filter = 1
|
|
sprite_frames = SubResource("SpriteFrames_xyjsl")
|
|
autoplay = "default"
|
|
frame = 1
|
|
frame_progress = 0.9100785
|
|
|
|
[node name="TubeConnectionArea" type="Area2D" parent="." unique_id=339547035]
|
|
unique_name_in_owner = true
|
|
collision_layer = 2
|
|
collision_mask = 2
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="TubeConnectionArea" unique_id=234655540]
|
|
shape = SubResource("CircleShape2D_x44k2")
|
|
debug_color = Color(0.38922516, 0.6054754, 0.25354394, 0.41960785)
|
|
|
|
[node name="Mitochondria" parent="." unique_id=954228490 instance=ExtResource("3_x44k2")]
|
|
process_mode = 4
|
|
visible = false
|
|
|
|
[node name="EnergyLabel" type="Label" parent="." unique_id=466024399]
|
|
unique_name_in_owner = true
|
|
anchors_preset = 5
|
|
anchor_left = 0.5
|
|
anchor_right = 0.5
|
|
offset_left = -20.0
|
|
offset_top = 14.0
|
|
offset_right = 20.0
|
|
offset_bottom = 31.0
|
|
grow_horizontal = 2
|
|
text = "5"
|
|
label_settings = SubResource("LabelSettings_x44k2")
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|