energy and stuff
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
[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/Sprite-0001.png" id="2_7qt20"]
|
||||
[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"]
|
||||
@@ -31,7 +31,7 @@ animations = [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_inlcu")
|
||||
}],
|
||||
"loop": true,
|
||||
"loop": 1,
|
||||
"name": &"default",
|
||||
"speed": 2.0
|
||||
}]
|
||||
@@ -39,6 +39,13 @@ animations = [{
|
||||
[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")
|
||||
@@ -49,8 +56,8 @@ unique_name_in_owner = true
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="ClickArea" unique_id=2005066434]
|
||||
shape = SubResource("CircleShape2D_7qt20")
|
||||
|
||||
[node name="Blob" type="AnimatedSprite2D" parent="." unique_id=190397869]
|
||||
modulate = Color(0.34855, 0.6165254, 0.5102762, 1)
|
||||
[node name="Gfx" type="AnimatedSprite2D" parent="." unique_id=190397869]
|
||||
unique_name_in_owner = true
|
||||
texture_filter = 1
|
||||
sprite_frames = SubResource("SpriteFrames_xyjsl")
|
||||
autoplay = "default"
|
||||
@@ -67,3 +74,20 @@ 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
|
||||
|
||||
Reference in New Issue
Block a user