developpement d'écran de chargement et d'écran de sélection de niveau

* modification de certains assets
* optimisation de chunks
* ajout d'un SceneManager
* ajout d'un premier dialogue avec Demeter
* changement des jour en charge
* mise en place d'un système de run
* etc...
This commit is contained in:
2026-01-10 13:04:33 +01:00
parent c130c47042
commit 9c449b234f
136 changed files with 3464 additions and 1147 deletions

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,5 @@
[gd_resource type="StandardMaterial3D" format=3 uid="uid://c26wmvhmhpqw7"]
[resource]
transparency = 1
albedo_color = Color(0, 0.18850002, 0.29, 0.8156863)

View File

@@ -77,11 +77,11 @@ func create_sphere(sphere_radius : float, sphere_details : int) -> Array:
return sphere.get_mesh_arrays()
func generate_noise() -> Noise:
func generate_noise(seed = randi()) -> Noise:
var n := FastNoiseLite.new()
n.noise_type = FastNoiseLite.TYPE_SIMPLEX_SMOOTH
n.frequency = 1.0
n.seed = randi()
n.seed = seed
return n

View File

@@ -10,14 +10,11 @@ var rotating := false
var prev_mouse_pos : Vector2
var next_mouse_pos : Vector2
@export_file var game_scene_path : String
func _ready():
%Version.text = ProjectSettings.get_setting("application/config/version")
func _on_start_pressed():
GameInfo.game_data.current_planet_data = PlanetData.new()
get_tree().change_scene_to_file(game_scene_path)
SceneManager.change_scene(SceneManager.INTRO_SCENE)
func _process(delta):
next_mouse_pos = get_viewport().get_mouse_position()

View File

@@ -1,6 +1,6 @@
[gd_scene load_steps=13 format=3 uid="uid://dxvtm81tq1a6w"]
[ext_resource type="Theme" uid="uid://bgcmd213j6gk1" path="res://gui/ressources/default_theme.tres" id="1_4ph5l"]
[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"]
@@ -12,7 +12,7 @@
viewport_path = NodePath("SubViewport")
[sub_resource type="FastNoiseLite" id="FastNoiseLite_6yuhi"]
seed = 240332359
seed = 1714900736
frequency = 1.0
[sub_resource type="ShaderMaterial" id="ShaderMaterial_7a1qq"]