Ajout des mutations Sauveteuse, Adaptative et résistante, ajout des crédits du jeu et d'un splash screen (+ un peu de debug)

This commit is contained in:
2026-07-10 14:34:27 +02:00
parent 22b753c6a9
commit 3caab11468
34 changed files with 729 additions and 158 deletions
+147 -68
View File
@@ -4,15 +4,12 @@
[ext_resource type="Theme" uid="uid://5au2k3vf2po3" path="res://gui/ressources/menu.tres" id="2_luv2b"]
[ext_resource type="Texture2D" uid="uid://cdpqg3pkjcw2h" path="res://stages/title_screen/assets/textures/title.png" id="3_urbel"]
[ext_resource type="LabelSettings" uid="uid://dqwayi8yjwau2" path="res://gui/ressources/title_label_settings.tres" id="4_5k6jv"]
[ext_resource type="PackedScene" uid="uid://bc3byq8e45ejj" path="res://gui/credits/socials/steam.tscn" id="5_luv2b"]
[ext_resource type="Texture2D" uid="uid://baaujfw8piywi" path="res://common/icons/dna.svg" id="6_kip8e"]
[ext_resource type="PackedScene" uid="uid://c8flevrkelpvy" path="res://gui/credits/socials/instagram.tscn" id="5_urbel"]
[ext_resource type="PackedScene" uid="uid://cm5b7w7j6527f" path="res://stages/title_screen/planet_3d.tscn" id="6_luv2b"]
[ext_resource type="FontFile" uid="uid://qt80w6o01q5s" path="res://gui/ressources/fonts/TitanOne-Regular.ttf" id="7_urbel"]
[ext_resource type="Texture2D" uid="uid://b75k12a4wc5t4" path="res://common/icons/book-2.svg" id="8_a8ny4"]
[ext_resource type="Texture2D" uid="uid://dbv5hm7lyi1f6" path="res://common/icons/infinity.svg" id="9_xl2r5"]
[sub_resource type="LabelSettings" id="LabelSettings_m5waa"]
font = ExtResource("7_urbel")
font_size = 20
[sub_resource type="ViewportTexture" id="ViewportTexture_urbel"]
viewport_path = NodePath("SubViewport")
[sub_resource type="LabelSettings" id="LabelSettings_5k6jv"]
font = ExtResource("7_urbel")
@@ -68,9 +65,34 @@ tracks/3/keys = {
"update": 1,
"values": [true]
}
tracks/4/type = "value"
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/path = NodePath("SubViewport/Camera3D:rotation:x")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [0.0]
}
tracks/5/type = "value"
tracks/5/imported = false
tracks/5/enabled = true
tracks/5/path = NodePath("SubViewport/Planet3d:fertility_factor")
tracks/5/interp = 1
tracks/5/loop_wrap = true
tracks/5/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [0.0]
}
[sub_resource type="Animation" id="Animation_kip8e"]
resource_name = "appear"
length = 10.0
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
@@ -78,7 +100,7 @@ tracks/0/path = NodePath("MarginContainer/GridContainer:theme_override_constants
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 1),
"times": PackedFloat32Array(9, 10),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [2000, 0]
@@ -90,7 +112,7 @@ tracks/1/path = NodePath("ColorRect:modulate")
tracks/1/interp = 2
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0.033333335, 0.5),
"times": PackedFloat32Array(9.033333, 9.5),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
@@ -102,7 +124,7 @@ tracks/2/path = NodePath("MarginContainer:modulate")
tracks/2/interp = 2
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0.43333334, 1),
"times": PackedFloat32Array(9.433333, 10),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
@@ -114,11 +136,35 @@ tracks/3/path = NodePath(".:visible")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/keys = {
"times": PackedFloat32Array(0.033333335),
"times": PackedFloat32Array(9.033333),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [true]
}
tracks/4/type = "value"
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/path = NodePath("SubViewport/Camera3D:rotation:x")
tracks/4/interp = 2
tracks/4/loop_wrap = true
tracks/4/keys = {
"times": PackedFloat32Array(0, 9.033333),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [0.51, 0.0]
}
tracks/5/type = "value"
tracks/5/imported = false
tracks/5/enabled = true
tracks/5/path = NodePath("SubViewport/Planet3d:fertility_factor")
tracks/5/interp = 1
tracks/5/loop_wrap = true
tracks/5/keys = {
"times": PackedFloat32Array(0.46666667, 9.066667),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [0.0, 1.0]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_a8ny4"]
_data = {
@@ -126,6 +172,9 @@ _data = {
&"appear": SubResource("Animation_kip8e")
}
[sub_resource type="FastNoiseLite" id="FastNoiseLite_5k6jv"]
frequency = 1.0
[node name="Credits" type="CanvasLayer" unique_id=180964898]
layer = 99
script = ExtResource("1_kip8e")
@@ -138,6 +187,17 @@ grow_horizontal = 2
grow_vertical = 2
color = Color(0.03529412, 0.019607844, 0.1254902, 0.8)
[node name="Background1" type="TextureRect" parent="." unique_id=799945411]
z_index = -1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = SubResource("ViewportTexture_urbel")
expand_mode = 2
stretch_mode = 6
[node name="MarginContainer" type="MarginContainer" parent="." unique_id=1349934988]
anchors_preset = 15
anchor_right = 1.0
@@ -149,7 +209,7 @@ theme = ExtResource("2_luv2b")
[node name="GridContainer" type="GridContainer" parent="MarginContainer" unique_id=1426452837]
layout_mode = 2
theme_override_constants/h_separation = 544
theme_override_constants/v_separation = 448
theme_override_constants/v_separation = 0
columns = 2
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/GridContainer" unique_id=1825004235]
@@ -169,63 +229,12 @@ stretch_mode = 5
[node name="Label" type="Label" parent="MarginContainer/GridContainer/VBoxContainer" unique_id=215880453]
layout_mode = 2
text = "THANKS_FOR_PLAYING_DEMO"
text = "THANKS_FOR_PLAYING"
label_settings = ExtResource("4_5k6jv")
horizontal_alignment = 1
[node name="SteamButton" parent="MarginContainer/GridContainer/VBoxContainer" unique_id=1181450581 instance=ExtResource("5_luv2b")]
[node name="Button" parent="MarginContainer/GridContainer/VBoxContainer" unique_id=927302743 instance=ExtResource("5_urbel")]
layout_mode = 2
link = "https://store.steampowered.com/app/4444510/Seeding_The_Wasteland/"
[node name="VBoxContainer2" type="VBoxContainer" parent="MarginContainer/GridContainer/VBoxContainer" unique_id=465861616]
modulate = Color(1, 0.6509804, 0.09019608, 1)
layout_mode = 2
theme_override_constants/separation = 4
[node name="Label2" type="Label" parent="MarginContainer/GridContainer/VBoxContainer/VBoxContainer2" unique_id=1013363580]
layout_mode = 2
text = "IN_THE_COMPLETE_GAME"
label_settings = ExtResource("4_5k6jv")
horizontal_alignment = 1
[node name="VBoxContainer" type="HBoxContainer" parent="MarginContainer/GridContainer/VBoxContainer/VBoxContainer2" unique_id=115205131]
layout_mode = 2
alignment = 1
[node name="TextureRect" type="TextureRect" parent="MarginContainer/GridContainer/VBoxContainer/VBoxContainer2/VBoxContainer" unique_id=148775652]
layout_mode = 2
texture = ExtResource("6_kip8e")
[node name="Label" type="Label" parent="MarginContainer/GridContainer/VBoxContainer/VBoxContainer2/VBoxContainer" unique_id=1109596403]
layout_mode = 2
text = "TWICE_MORE_MUTATIONS"
label_settings = SubResource("LabelSettings_m5waa")
[node name="VBoxContainer2" type="HBoxContainer" parent="MarginContainer/GridContainer/VBoxContainer/VBoxContainer2" unique_id=921966638]
layout_mode = 2
alignment = 1
[node name="TextureRect" type="TextureRect" parent="MarginContainer/GridContainer/VBoxContainer/VBoxContainer2/VBoxContainer2" unique_id=32161915]
layout_mode = 2
texture = ExtResource("8_a8ny4")
[node name="Label" type="Label" parent="MarginContainer/GridContainer/VBoxContainer/VBoxContainer2/VBoxContainer2" unique_id=578114248]
layout_mode = 2
text = "A_3_4_HOURS_STORY"
label_settings = SubResource("LabelSettings_m5waa")
[node name="VBoxContainer3" type="HBoxContainer" parent="MarginContainer/GridContainer/VBoxContainer/VBoxContainer2" unique_id=1755435556]
layout_mode = 2
alignment = 1
[node name="TextureRect" type="TextureRect" parent="MarginContainer/GridContainer/VBoxContainer/VBoxContainer2/VBoxContainer3" unique_id=1636037226]
layout_mode = 2
texture = ExtResource("9_xl2r5")
[node name="Label" type="Label" parent="MarginContainer/GridContainer/VBoxContainer/VBoxContainer2/VBoxContainer3" unique_id=222316161]
layout_mode = 2
text = "AN_INFINITE_MODE"
label_settings = SubResource("LabelSettings_m5waa")
[node name="VBoxContainer2" type="VBoxContainer" parent="MarginContainer/GridContainer" unique_id=105267250]
layout_mode = 2
@@ -276,7 +285,7 @@ alignment = 1
[node name="Name" type="Label" parent="MarginContainer/GridContainer/VBoxContainer2/CreditsLine4" unique_id=1820679506]
layout_mode = 2
text = "Eva"
text = "Eva Martel"
label_settings = SubResource("LabelSettings_5k6jv")
horizontal_alignment = 1
@@ -291,7 +300,7 @@ alignment = 1
[node name="Name" type="Label" parent="MarginContainer/GridContainer/VBoxContainer2/CreditsLine3" unique_id=1412859434]
layout_mode = 2
text = "Victor RJ"
text = "Victor Robert Jaunet"
label_settings = SubResource("LabelSettings_5k6jv")
horizontal_alignment = 1
@@ -330,6 +339,21 @@ layout_mode = 2
text = "COMMUNICATION"
horizontal_alignment = 1
[node name="CreditsLine11" type="HBoxContainer" parent="MarginContainer/GridContainer/VBoxContainer2" unique_id=544572887]
layout_mode = 2
alignment = 1
[node name="Name" type="Label" parent="MarginContainer/GridContainer/VBoxContainer2/CreditsLine11" unique_id=1419201058]
layout_mode = 2
text = "Madison"
label_settings = SubResource("LabelSettings_5k6jv")
horizontal_alignment = 1
[node name="Role" type="Label" parent="MarginContainer/GridContainer/VBoxContainer2/CreditsLine11" unique_id=550646115]
layout_mode = 2
text = "PR_AND_MARKETING"
horizontal_alignment = 1
[node name="CreditsLine6" type="HBoxContainer" parent="MarginContainer/GridContainer/VBoxContainer2" unique_id=192767961]
layout_mode = 2
alignment = 1
@@ -375,13 +399,28 @@ layout_mode = 2
text = "TRAILER"
horizontal_alignment = 1
[node name="CreditsLine13" type="HBoxContainer" parent="MarginContainer/GridContainer/VBoxContainer2" unique_id=1407984580]
layout_mode = 2
alignment = 1
[node name="Name" type="Label" parent="MarginContainer/GridContainer/VBoxContainer2/CreditsLine13" unique_id=651448224]
layout_mode = 2
text = "Baptiste Pocard"
label_settings = SubResource("LabelSettings_5k6jv")
horizontal_alignment = 1
[node name="Role" type="Label" parent="MarginContainer/GridContainer/VBoxContainer2/CreditsLine13" unique_id=1434120919]
layout_mode = 2
text = "CONCEPT_ARTS"
horizontal_alignment = 1
[node name="CreditsLine10" type="HBoxContainer" parent="MarginContainer/GridContainer/VBoxContainer2" unique_id=1089087276]
layout_mode = 2
alignment = 1
[node name="Name" type="Label" parent="MarginContainer/GridContainer/VBoxContainer2/CreditsLine10" unique_id=399643362]
layout_mode = 2
text = "Ny Andy"
text = "Ny Andy Ratinarivelo"
label_settings = SubResource("LabelSettings_5k6jv")
horizontal_alignment = 1
@@ -390,6 +429,46 @@ layout_mode = 2
text = "SPLASH_ART"
horizontal_alignment = 1
[node name="CreditsLine12" type="HBoxContainer" parent="MarginContainer/GridContainer/VBoxContainer2" unique_id=1932899531]
layout_mode = 2
alignment = 1
[node name="Name" type="Label" parent="MarginContainer/GridContainer/VBoxContainer2/CreditsLine12" unique_id=2037812278]
layout_mode = 2
text = "Cesire"
label_settings = SubResource("LabelSettings_5k6jv")
horizontal_alignment = 1
[node name="Role" type="Label" parent="MarginContainer/GridContainer/VBoxContainer2/CreditsLine12" unique_id=590486308]
layout_mode = 2
text = "DEMETER_VOICE"
horizontal_alignment = 1
[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=1455518318]
unique_name_in_owner = true
libraries/ = SubResource("AnimationLibrary_a8ny4")
autoplay = &"appear"
[node name="SubViewport" type="SubViewport" parent="." unique_id=245713755]
size = Vector2i(1980, 1080)
[node name="WorldEnvironment" type="WorldEnvironment" parent="SubViewport" unique_id=186360917]
[node name="Planet3d" parent="SubViewport" unique_id=866166298 instance=ExtResource("6_luv2b")]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)
noise = SubResource("FastNoiseLite_5k6jv")
[node name="Camera3D" type="Camera3D" parent="SubViewport" unique_id=232867368]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 64.323)
current = true
fov = 34.0
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="SubViewport" unique_id=1781058708]
transform = Transform3D(0.044800885, 0.76661056, -0.6405476, -0.8325595, 0.38302267, 0.4001729, 0.55212104, 0.51536596, 0.65540874, -23.18848, 19.508549, 0)
light_volumetric_fog_energy = 0.0
light_specular = 0.0
shadow_enabled = true
shadow_normal_bias = 0.0
shadow_opacity = 0.92
shadow_blur = 4.667
+120 -8
View File
@@ -3,7 +3,6 @@
[ext_resource type="Script" uid="uid://2qomrdxbvxqa" path="res://gui/game/pass_day/scripts/pass_day.gd" id="1_0pm4g"]
[ext_resource type="PackedScene" uid="uid://brfsapvj2quxm" path="res://gui/game/energy_info/energy_info.tscn" id="2_feyaf"]
[ext_resource type="Theme" uid="uid://5au2k3vf2po3" path="res://gui/ressources/menu.tres" id="4_0pm4g"]
[ext_resource type="Script" uid="uid://0dhj8sdpil7q" path="res://gui/tools/control_animation_player.gd" id="5_dqmg8"]
[ext_resource type="Texture2D" uid="uid://cymrmhsihkj44" path="res://common/icons/recharge.svg" id="6_h2bel"]
[ext_resource type="FontFile" uid="uid://qt80w6o01q5s" path="res://gui/ressources/fonts/TitanOne-Regular.ttf" id="7_h2bel"]
[ext_resource type="Texture2D" uid="uid://cihiibon53147" path="res://gui/game/pass_day/assets/day_night_sprite.svg" id="7_m84xg"]
@@ -51,9 +50,121 @@ _data = {
&"pass": SubResource("Animation_5ap0m")
}
[sub_resource type="Animation" id="Animation_0pm4g"]
resource_name = "Appear"
length = 0.5
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Background:modulate:a")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.5),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [0.0, 1.0]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("NightAnimation:modulate:a")
tracks/1/interp = 2
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 0.5),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [0.0, 1.0]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("PassDayInfo:modulate:a")
tracks/2/interp = 2
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0.23333333, 0.5),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [0.0, 1.0]
}
tracks/3/type = "value"
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/path = NodePath("MarginContainer/EnergyPassDayInfo:modulate:a")
tracks/3/interp = 2
tracks/3/loop_wrap = true
tracks/3/keys = {
"times": PackedFloat32Array(0.33333334, 0.5),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [0.0, 1.0]
}
[sub_resource type="Animation" id="Animation_dqmg8"]
resource_name = "Disappear"
[sub_resource type="Animation" id="Animation_m84xg"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Background:modulate:a")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [0.0]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("NightAnimation:modulate:a")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [0.0]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("PassDayInfo:modulate:a")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [0.0]
}
tracks/3/type = "value"
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/path = NodePath("MarginContainer/EnergyPassDayInfo:modulate:a")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [0.0]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_h2bel"]
_data = {
&"Appear": SubResource("Animation_0pm4g"),
&"Disappear": SubResource("Animation_dqmg8"),
&"RESET": SubResource("Animation_m84xg")
}
[node name="PassDay" type="CanvasLayer" unique_id=335255544]
layer = 3
visible = false
script = ExtResource("1_0pm4g")
[node name="Background" type="ColorRect" parent="." unique_id=527935985]
@@ -68,7 +179,7 @@ color = Color(0.0627451, 0.05882353, 0.16862746, 1)
[node name="PassDayInfo" type="VBoxContainer" parent="." unique_id=833110506]
unique_name_in_owner = true
visible = false
modulate = Color(1, 1, 1, 0)
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
@@ -77,11 +188,6 @@ grow_vertical = 2
theme = ExtResource("4_0pm4g")
alignment = 1
[node name="PassDayInfoAnimationPlayer" type="Node" parent="PassDayInfo" unique_id=857480517]
unique_name_in_owner = true
script = ExtResource("5_dqmg8")
metadata/_custom_type_script = "uid://0dhj8sdpil7q"
[node name="TextureRect" type="TextureRect" parent="PassDayInfo" unique_id=1350962162]
layout_mode = 2
size_flags_horizontal = 4
@@ -99,6 +205,7 @@ vertical_alignment = 1
[node name="NightAnimation" type="TextureRect" parent="." unique_id=126988628]
unique_name_in_owner = true
modulate = Color(1, 1, 1, 0)
custom_minimum_size = Vector2(500, 0)
anchors_preset = 8
anchor_left = 0.5
@@ -140,8 +247,13 @@ theme_override_constants/margin_bottom = 15
[node name="EnergyPassDayInfo" parent="MarginContainer" unique_id=2044341204 instance=ExtResource("2_feyaf")]
unique_name_in_owner = true
modulate = Color(1, 1, 1, 0)
layout_mode = 2
theme_override_constants/margin_left = 15
theme_override_constants/margin_top = 15
theme_override_constants/margin_right = 15
theme_override_constants/margin_bottom = 15
[node name="PassDayAnimationPlayer" type="AnimationPlayer" parent="." unique_id=2130854776]
unique_name_in_owner = true
libraries/ = SubResource("AnimationLibrary_h2bel")
+4 -28
View File
@@ -24,8 +24,6 @@ var is_animation_disappeared := false
func _ready():
hide()
setup_energy_values()
%PassDayInfo.hide()
%Background.modulate.a = 0.
func _process(delta):
if recharging:
@@ -71,36 +69,14 @@ func pass_day_animation():
func appear():
show()
add_tween(
"modulate:a",
%Background,
1.,
0.5
)
await add_tween(
"modulate:a",
%NightAnimation,
1.,
0.5
).finished
%PassDayAnimationPlayer.play("Appear")
await %PassDayInfoAnimationPlayer.appear()
await %PassDayAnimationPlayer.animation_finished
func disappear():
await %PassDayInfoAnimationPlayer.disappear()
add_tween(
"modulate:a",
%Background,
0.0,
0.5
)
await add_tween(
"modulate:a",
%NightAnimation,
0.,
0.5
).finished
%PassDayAnimationPlayer.play_backwards("Appear")
await %PassDayAnimationPlayer.animation_finished
hide()
func add_tween(