* Ajout des icônes dans les descriptions des mutations * QOL sur la fonctionnalité de drop d'item * Ajout des contrôles dans le tutoriel * Réécriture des dialogues d'intro et d'échec * Changements mineurs sur des dialogues et traduction * Les graines apparaissent avec déjà une mutation * Limitation du Talion autour de la station de recharge * Fix de l'ascenseur dans la base Astra * Ajout d'un effet visuel quand il n'y a plus d'énergie * Le nombre de graine apparrait désormais dans l'inspécteur de plantes * Ajout d'un petit icône de progrès de durée de vie de la plante au survol * Ajout d'une description de la signification des icônes dans le menu pause * La mutation éphémère réduit désormais la durée de vie de 1
178 lines
5.3 KiB
Plaintext
178 lines
5.3 KiB
Plaintext
[gd_scene format=3 uid="uid://2hrg6yjk0yt0"]
|
|
|
|
[ext_resource type="Script" uid="uid://bmjjpk4lvijws" path="res://entities/plants/scripts/plant_sprite.gd" id="1_pq8o7"]
|
|
[ext_resource type="Texture2D" uid="uid://pltmnkqd5ut2" path="res://entities/plants/assets/sprites/seeds/grille_seeds.png" id="3_j6jm5"]
|
|
[ext_resource type="Texture2D" uid="uid://do3wxh7k38m7u" path="res://entities/plants/assets/sprites/seed_buried_texture.png" id="3_rbgiq"]
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_wyuub"]
|
|
atlas = ExtResource("3_j6jm5")
|
|
region = Rect2(76, 75, 124, 135)
|
|
|
|
[sub_resource type="ViewportTexture" id="ViewportTexture_rbgiq"]
|
|
viewport_path = NodePath("LifeTimeSprite/SubViewport")
|
|
|
|
[sub_resource type="Gradient" id="Gradient_rbgiq"]
|
|
interpolation_mode = 1
|
|
offsets = PackedFloat32Array(0, 0.800905, 1)
|
|
colors = PackedColorArray(1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0)
|
|
|
|
[sub_resource type="GradientTexture2D" id="GradientTexture2D_rbgiq"]
|
|
gradient = SubResource("Gradient_rbgiq")
|
|
width = 100
|
|
height = 100
|
|
fill = 1
|
|
fill_from = Vector2(0.5, 0.5)
|
|
fill_to = Vector2(1, 0.5)
|
|
|
|
[sub_resource type="Gradient" id="Gradient_j6jm5"]
|
|
interpolation_mode = 1
|
|
offsets = PackedFloat32Array(0, 0.5248869)
|
|
colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 0)
|
|
|
|
[sub_resource type="GradientTexture2D" id="GradientTexture2D_wyuub"]
|
|
gradient = SubResource("Gradient_j6jm5")
|
|
width = 100
|
|
height = 100
|
|
fill = 1
|
|
fill_from = Vector2(0.5, 0.5)
|
|
fill_to = Vector2(1, 0.5)
|
|
|
|
[sub_resource type="Animation" id="Animation_wyuub"]
|
|
length = 0.001
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Sprite:scale")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Vector2(0.15, 0.15)]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath("Sprite:skew")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [0.0]
|
|
}
|
|
tracks/2/type = "value"
|
|
tracks/2/imported = false
|
|
tracks/2/enabled = true
|
|
tracks/2/path = NodePath("Sprite:modulate")
|
|
tracks/2/interp = 1
|
|
tracks/2/loop_wrap = true
|
|
tracks/2/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Color(1, 1, 1, 1)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_j6jm5"]
|
|
resource_name = "bump"
|
|
length = 0.3
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Sprite:scale")
|
|
tracks/0/interp = 2
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.1, 0.3),
|
|
"transitions": PackedFloat32Array(1, 1, 1),
|
|
"update": 0,
|
|
"values": [Vector2(0.15, 0.15), Vector2(0.15, 0.075), Vector2(0.15, 0.15)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_rbgiq"]
|
|
resource_name = "harvest"
|
|
length = 0.2
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Sprite:skew")
|
|
tracks/0/interp = 2
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.1, 0.2),
|
|
"transitions": PackedFloat32Array(1, 1, 1),
|
|
"update": 0,
|
|
"values": [0.0, -0.698132, 0.698132]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath("Sprite:modulate")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0.133333, 0.2),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_8eofq"]
|
|
_data = {
|
|
&"RESET": SubResource("Animation_wyuub"),
|
|
&"bump": SubResource("Animation_j6jm5"),
|
|
&"harvest": SubResource("Animation_rbgiq")
|
|
}
|
|
|
|
[node name="PlantSprite" type="Node2D" unique_id=1274989778]
|
|
script = ExtResource("1_pq8o7")
|
|
|
|
[node name="Sprite" type="Sprite2D" parent="." unique_id=1693882598]
|
|
unique_name_in_owner = true
|
|
position = Vector2(0, -100)
|
|
scale = Vector2(0.15, 0.15)
|
|
|
|
[node name="PlantedSeed" type="Sprite2D" parent="Sprite" unique_id=1134686525]
|
|
unique_name_in_owner = true
|
|
position = Vector2(0, 653.33325)
|
|
scale = Vector2(1.5, 1.5)
|
|
texture = SubResource("AtlasTexture_wyuub")
|
|
region_rect = Rect2(0, -50, 124, 135)
|
|
region_filter_clip_enabled = true
|
|
|
|
[node name="SeedBuriedTexture" type="Sprite2D" parent="Sprite/PlantedSeed" unique_id=2046939355]
|
|
position = Vector2(4.444448, 31.11118)
|
|
scale = Vector2(3.1777775, 3.1777775)
|
|
texture = ExtResource("3_rbgiq")
|
|
|
|
[node name="LifeTimeSprite" type="Sprite2D" parent="." unique_id=799762981]
|
|
unique_name_in_owner = true
|
|
position = Vector2(-1, -9.999985)
|
|
scale = Vector2(0.34, 0.34)
|
|
texture = SubResource("ViewportTexture_rbgiq")
|
|
|
|
[node name="SubViewport" type="SubViewport" parent="LifeTimeSprite" unique_id=1809354262]
|
|
disable_3d = true
|
|
transparent_bg = true
|
|
size = Vector2i(100, 100)
|
|
|
|
[node name="LifetimeProgressBar" type="TextureProgressBar" parent="LifeTimeSprite/SubViewport" unique_id=967185775]
|
|
unique_name_in_owner = true
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
size_flags_horizontal = 6
|
|
size_flags_vertical = 6
|
|
fill_mode = 4
|
|
texture_over = SubResource("GradientTexture2D_rbgiq")
|
|
texture_progress = SubResource("GradientTexture2D_wyuub")
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=1793068152]
|
|
unique_name_in_owner = true
|
|
libraries/ = SubResource("AnimationLibrary_8eofq")
|