changement du scene manager, amélioration du cockpit et autres

* refonte du scene manager
* refonte du audio manager
* premier rework des plantes
* nettoyage des dossiers/fichiers
* renommage de planète en region
* fix des run
This commit is contained in:
2026-01-23 18:06:27 +01:00
parent 62b34473b6
commit 83d462f2f4
247 changed files with 2964 additions and 3159 deletions

View File

@@ -14,7 +14,7 @@ func _ready():
%Version.text = ProjectSettings.get_setting("application/config/version")
func _on_start_pressed():
SceneManager.change_scene(SceneManager.INTRO_SCENE)
SceneManager.change_scene("INTRO")
func _process(delta):
next_mouse_pos = get_viewport().get_mouse_position()

View File

@@ -1,19 +1,17 @@
[gd_scene load_steps=14 format=3 uid="uid://dxvtm81tq1a6w"]
[gd_scene load_steps=12 format=3 uid="uid://dxvtm81tq1a6w"]
[ext_resource type="Theme" uid="uid://bgcmd213j6gk1" path="res://gui/ressources/hud.tres" id="1_4ph5l"]
[ext_resource type="Script" uid="uid://cwmp2une7hobe" path="res://stages/title_screen/scripts/title_screen.gd" id="1_6yuhi"]
[ext_resource type="Texture2D" uid="uid://dcgnamu7sb3ov" path="res://common/icons/bolt.svg" id="3_6yuhi"]
[ext_resource type="Texture2D" uid="uid://cdpqg3pkjcw2h" path="res://stages/title_screen/assets/textures/title.png" id="3_y6tw6"]
[ext_resource type="LabelSettings" uid="uid://dqwayi8yjwau2" path="res://gui/ressources/title_label_settings.tres" id="4_y6tw6"]
[ext_resource type="PackedScene" uid="uid://cm5b7w7j6527f" path="res://stages/title_screen/planet_3d.tscn" id="5_7a1qq"]
[ext_resource type="Shader" uid="uid://bv2rghn44mrrf" path="res://stages/title_screen/resources/shaders/stars.gdshader" id="7_y6tw6"]
[ext_resource type="AudioStream" uid="uid://bpf6witukorka" path="res://common/audio_manager/assets/morceaux/autres/main_menu.ogg" id="8_y6tw6"]
[sub_resource type="ViewportTexture" id="ViewportTexture_6yuhi"]
viewport_path = NodePath("SubViewport")
[sub_resource type="FastNoiseLite" id="FastNoiseLite_6yuhi"]
seed = -964506676
[sub_resource type="FastNoiseLite" id="FastNoiseLite_qnk88"]
seed = -907666519
frequency = 1.0
[sub_resource type="ShaderMaterial" id="ShaderMaterial_7a1qq"]
@@ -52,7 +50,6 @@ adjustment_saturation = 0.88
[node name="TitleScreen" type="CanvasLayer"]
script = ExtResource("1_6yuhi")
game_scene_path = "uid://d0n52psuns1vl"
[node name="Background1" type="TextureRect" parent="."]
z_index = -1
@@ -117,62 +114,15 @@ layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 4
[node name="ArtTitle" type="Label" parent="MarginContainer/GridContainer/Credits"]
layout_mode = 2
size_flags_horizontal = 3
theme = ExtResource("1_4ph5l")
text = "ART"
label_settings = ExtResource("4_y6tw6")
horizontal_alignment = 1
[node name="ArtText" type="Label" parent="MarginContainer/GridContainer/Credits"]
layout_mode = 2
theme = ExtResource("1_4ph5l")
text = "Baptiste Pocard
Céline Ferrand / Lunarde
Camille Fleury
"
horizontal_alignment = 1
[node name="DevTitle" type="Label" parent="MarginContainer/GridContainer/Credits"]
layout_mode = 2
size_flags_horizontal = 3
theme = ExtResource("1_4ph5l")
text = "DEV_AND_GAME_DESIGN"
label_settings = ExtResource("4_y6tw6")
horizontal_alignment = 1
[node name="DevText" type="Label" parent="MarginContainer/GridContainer/Credits"]
layout_mode = 2
theme = ExtResource("1_4ph5l")
text = "Zacharie Guet / Zink
Victor Robert Jaunet / Altaezio
"
horizontal_alignment = 1
[node name="MusicTitle" type="Label" parent="MarginContainer/GridContainer/Credits"]
layout_mode = 2
size_flags_horizontal = 3
theme = ExtResource("1_4ph5l")
text = "MUSIC"
label_settings = ExtResource("4_y6tw6")
horizontal_alignment = 1
[node name="MusicText" type="Label" parent="MarginContainer/GridContainer/Credits"]
layout_mode = 2
theme = ExtResource("1_4ph5l")
text = "Niels Cauterman / Nilou"
horizontal_alignment = 1
[node name="SubViewport" type="SubViewport" parent="."]
size = Vector2i(1980, 1080)
[node name="Planet3d" parent="SubViewport" instance=ExtResource("5_7a1qq")]
unique_name_in_owner = true
noise = SubResource("FastNoiseLite_6yuhi")
noise = SubResource("FastNoiseLite_qnk88")
[node name="Camera3D" type="Camera3D" parent="SubViewport"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 64.323425)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -14.369979, 0, 64.323425)
current = true
fov = 34.0
@@ -182,8 +132,4 @@ environment = SubResource("Environment_nmsah")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="SubViewport"]
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)
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource("8_y6tw6")
autoplay = true
[connection signal="pressed" from="MarginContainer/GridContainer/VBoxContainer/Start" to="." method="_on_start_pressed"]