#46 ajout d'une borne de recharge et changements mineurs du gameplay

This commit is contained in:
2025-08-22 12:22:24 +02:00
parent dbb6855585
commit 3d0104ed4a
30 changed files with 400 additions and 246 deletions

111
root.tscn
View File

@@ -1,18 +1,20 @@
[gd_scene load_steps=8 format=3 uid="uid://c5bruelvqbm1k"]
[gd_scene load_steps=9 format=3 uid="uid://c5bruelvqbm1k"]
[ext_resource type="Script" uid="uid://c54457tbocdwk" path="res://gui/menu/scripts/menu.gd" id="1_bf3um"]
[ext_resource type="Texture2D" uid="uid://bnrjnvceprxfn" path="res://stages/terrain/planet/assets/textures/sol_gamejam_normal.png" id="2_huihk"]
[ext_resource type="Texture2D" uid="uid://dcn4cq53h1qiy" path="res://stages/terrain/planet/resources/textures/sol_gamejam_fleurs_transp.png" id="3_tw3kd"]
[ext_resource type="Theme" uid="uid://bgcmd213j6gk1" path="res://gui/game/ressources/default_theme.tres" id="4_gd4vy"]
[ext_resource type="Theme" uid="uid://bgcmd213j6gk1" path="res://gui/ressources/default_theme.tres" id="4_gd4vy"]
[ext_resource type="Texture2D" uid="uid://nx4wxpr6mk8l" path="res://gui/menu/assets/texture/SeedingPlanetsLogo.png" id="5_qw60f"]
[ext_resource type="Texture2D" uid="uid://03ijmo6xlytu" path="res://gui/menu/assets/texture/abre1glow.png" id="6_eji0w"]
[ext_resource type="Texture2D" uid="uid://dcgnamu7sb3ov" path="res://gui/game/assets/icons/bolt.svg" id="7_qwhpj"]
[ext_resource type="LabelSettings" uid="uid://dqwayi8yjwau2" path="res://gui/ressources/title_label_settings.tres" id="8_bf3um"]
[node name="Root" type="Node2D"]
script = ExtResource("1_bf3um")
start_scene_path = "uid://d28cp7a21kwou"
[node name="CanvasLayer" type="CanvasLayer" parent="."]
process_mode = 3
[node name="Background1" type="TextureRect" parent="CanvasLayer"]
z_index = -1
@@ -44,17 +46,8 @@ grow_horizontal = 2
grow_vertical = 2
theme = ExtResource("4_gd4vy")
[node name="Logo" type="TextureRect" parent="CanvasLayer/MarginContainer"]
z_index = 2
custom_minimum_size = Vector2(500, 0)
layout_mode = 2
size_flags_horizontal = 0
size_flags_vertical = 0
texture = ExtResource("5_qw60f")
expand_mode = 5
stretch_mode = 4
[node name="Tree" type="TextureRect" parent="CanvasLayer/MarginContainer"]
z_index = -1
custom_minimum_size = Vector2(500, 0)
layout_mode = 2
size_flags_horizontal = 4
@@ -63,15 +56,6 @@ texture = ExtResource("6_eji0w")
expand_mode = 4
stretch_mode = 4
[node name="Start" type="Button" parent="CanvasLayer/MarginContainer"]
layout_mode = 2
size_flags_horizontal = 8
size_flags_vertical = 8
theme = ExtResource("4_gd4vy")
theme_override_font_sizes/font_size = 33
text = "Start"
icon = ExtResource("7_qwhpj")
[node name="Version" type="Label" parent="CanvasLayer/MarginContainer"]
unique_name_in_owner = true
layout_mode = 2
@@ -79,19 +63,84 @@ size_flags_horizontal = 8
size_flags_vertical = 0
text = "Version"
[node name="Credits" type="Label" parent="CanvasLayer/MarginContainer"]
[node name="GridContainer" type="HBoxContainer" parent="CanvasLayer/MarginContainer"]
layout_mode = 2
size_flags_horizontal = 0
size_flags_vertical = 8
text = "Art
Céline Ferrand / Lunarde
alignment = 1
[node name="VBoxContainer" type="VBoxContainer" parent="CanvasLayer/MarginContainer/GridContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 4
theme_override_constants/separation = 20
alignment = 1
[node name="Logo" type="TextureRect" parent="CanvasLayer/MarginContainer/GridContainer/VBoxContainer"]
z_index = 2
custom_minimum_size = Vector2(600, 0)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 0
texture = ExtResource("5_qw60f")
expand_mode = 5
stretch_mode = 5
[node name="Start" type="Button" parent="CanvasLayer/MarginContainer/GridContainer/VBoxContainer"]
unique_name_in_owner = true
z_index = 1
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
theme = ExtResource("4_gd4vy")
theme_override_font_sizes/font_size = 33
text = "Start"
icon = ExtResource("7_qwhpj")
[node name="Credits" type="VBoxContainer" parent="CanvasLayer/MarginContainer/GridContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 4
[node name="ArtTitle" type="Label" parent="CanvasLayer/MarginContainer/GridContainer/Credits"]
layout_mode = 2
size_flags_horizontal = 3
theme = ExtResource("4_gd4vy")
text = "Art"
label_settings = ExtResource("8_bf3um")
horizontal_alignment = 1
[node name="ArtText" type="Label" parent="CanvasLayer/MarginContainer/GridContainer/Credits"]
layout_mode = 2
text = "Céline Ferrand / Lunarde
Camille Fleury
"
horizontal_alignment = 1
Development / Game Design
Zacharie Guet / Zink
[node name="DevTitle" type="Label" parent="CanvasLayer/MarginContainer/GridContainer/Credits"]
layout_mode = 2
size_flags_horizontal = 3
theme = ExtResource("4_gd4vy")
text = "Development / Game Design"
label_settings = ExtResource("8_bf3um")
horizontal_alignment = 1
[node name="DevText" type="Label" parent="CanvasLayer/MarginContainer/GridContainer/Credits"]
layout_mode = 2
text = "Zacharie Guet / Zink
Victor Robert Jaunet / Altaezio
"
horizontal_alignment = 1
Music
Niels / Nilou"
[node name="MusicTitle" type="Label" parent="CanvasLayer/MarginContainer/GridContainer/Credits"]
layout_mode = 2
size_flags_horizontal = 3
theme = ExtResource("4_gd4vy")
text = "Music"
label_settings = ExtResource("8_bf3um")
horizontal_alignment = 1
[connection signal="pressed" from="CanvasLayer/MarginContainer/Start" to="." method="_on_start_pressed"]
[node name="MusicText" type="Label" parent="CanvasLayer/MarginContainer/GridContainer/Credits"]
layout_mode = 2
text = "Niels / Nilou"
horizontal_alignment = 1
[connection signal="pressed" from="CanvasLayer/MarginContainer/GridContainer/VBoxContainer/Start" to="." method="_on_start_pressed"]