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
-20
View File
@@ -41,9 +41,6 @@ shading_mode = 0
albedo_color = Color(0.5882353, 0.7019608, 0.85882354, 1)
albedo_texture = ExtResource("2_mr0dk")
[sub_resource type="ViewportTexture" id="ViewportTexture_dlfx2"]
viewport_path = NodePath("Screen/SubViewport")
[sub_resource type="QuadMesh" id="QuadMesh_m5l0g"]
size = Vector2(3, 3)
@@ -189,21 +186,6 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -3.9, -0.34409285)
screen_text = "CONNECT_TO_POSEIDON"
broken = true
[node name="Model" parent="AiReceptacle" index="0" unique_id=154868613]
visible = false
[node name="ModelBroken" parent="AiReceptacle" index="1" unique_id=1633938801]
visible = true
[node name="Support" parent="AiReceptacle/ModelBroken" index="5" unique_id=1098621972]
surface_material_override/0 = ExtResource("4_nydtf")
[node name="Screen" parent="AiReceptacle" index="3" unique_id=1396407912]
texture = SubResource("ViewportTexture_dlfx2")
[node name="ScreenTitle" parent="AiReceptacle/Screen/SubViewport/ScreenContent/VBoxContainer" parent_id_path=PackedInt32Array(1082354698, 1893636910) index="1" unique_id=443526476]
text = "CONNECT_TO_POSEIDON"
[node name="SpotLight3D" type="SpotLight3D" parent="AiReceptacle" unique_id=1906884086]
transform = Transform3D(1, 0, 0, 0, -0.67415154, -0.73859304, 0, 0.73859304, -0.67415154, 0, 0.66735864, 3.2564082)
light_color = Color(0.972549, 0.007843138, 0.3764706, 1)
@@ -281,6 +263,4 @@ autoplay = &"blink"
[connection signal="clicked" from="AiReceptacle" to="." method="_on_ai_receptacle_clicked"]
[editable path="hub"]
[editable path="AiReceptacle"]
[editable path="AiReceptacle/ModelBroken"]
[editable path="Player3D"]
@@ -33,7 +33,6 @@ var ship_icon : Sprite2D
func update(with_animation := true, recreate_map = false):
if is_node_ready() and story_step:
print(current_position)
if recreate_map or not ship_icon:
if story_step and get_step_number() < story_step.get_region_sequence_length():
@@ -141,6 +141,7 @@ func add_plant_data(plant_data : PlantData, with_update = true):
func (pd : PlantData): return pd.random_seed == plant_data.random_seed
) == -1:
plants.append(plant_data)
plant_data.region_data = self
plant_data.disappeared.connect(_on_plant_disappeared)
plant_data.updated.connect(func (_p : PlantData) : update())
if with_update: