système de sauvegarde, scène 3D de test sur la base astra et passage en forward+

This commit is contained in:
2026-02-06 10:28:36 +01:00
parent 83d462f2f4
commit cc421a951f
97 changed files with 2138 additions and 1007 deletions

View File

@@ -1,16 +1,17 @@
[gd_scene load_steps=19 format=3 uid="uid://753270jjxmfg"]
[gd_scene format=3 uid="uid://753270jjxmfg"]
[ext_resource type="Theme" uid="uid://bgcmd213j6gk1" path="res://gui/ressources/hud.tres" id="1_m317d"]
[ext_resource type="Script" uid="uid://b7f10wuounfan" path="res://gui/game/card/scripts/card.gd" id="2_kpm7h"]
[ext_resource type="FontFile" uid="uid://qt80w6o01q5s" path="res://gui/ressources/fonts/TitanOne-Regular.ttf" id="2_plgbn"]
[ext_resource type="Script" uid="uid://dj2pv1hiwjfv0" path="res://gui/game/card/scripts/card_info.gd" id="3_7wc8v"]
[ext_resource type="Texture2D" uid="uid://bt3g5bmar0icf" path="res://common/icons/growth.svg" id="3_kpm7h"]
[ext_resource type="Texture2D" uid="uid://bd6qddv5ihkjr" path="res://common/icons/bucket.svg" id="3_pmldi"]
[ext_resource type="Script" uid="uid://dgbh38j13g5kn" path="res://gui/game/card/scripts/card_section_info.gd" id="5_7wc8v"]
[ext_resource type="Texture2D" uid="uid://0hbdgalf04e" path="res://common/icons/wood.svg" id="6_7wc8v"]
[ext_resource type="Script" uid="uid://b4tkium34c831" path="res://gui/game/card/scripts/card_stat_info.gd" id="6_pmldi"]
[ext_resource type="Texture2D" uid="uid://baaujfw8piywi" path="res://common/icons/dna.svg" id="7_mwhj8"]
[ext_resource type="LabelSettings" uid="uid://dqwayi8yjwau2" path="res://gui/ressources/title_label_settings.tres" id="7_pmldi"]
[ext_resource type="Theme" uid="uid://5au2k3vf2po3" path="res://gui/ressources/menu.tres" id="9_7wc8v"]
[ext_resource type="Texture2D" uid="uid://bsvxhafoxwmw0" path="res://common/icons/cube-3d-sphere.svg" id="10_gibok"]
[ext_resource type="Texture2D" uid="uid://deywxmh76nu5w" path="res://common/icons/caret-down.svg" id="11_kpm7h"]
[ext_resource type="FontFile" uid="uid://3workc27eb0r" path="res://gui/ressources/fonts/Ubuntu/Ubuntu-B.ttf" id="11_pmldi"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_gibok"]
bg_color = Color(1, 1, 1, 1)
@@ -22,24 +23,26 @@ corner_radius_bottom_left = 20
[sub_resource type="Resource" id="Resource_plgbn"]
script = ExtResource("3_7wc8v")
title = "Hello"
type_icon = ExtResource("6_7wc8v")
texture = ExtResource("7_mwhj8")
important_stat_text = "10"
important_stat_icon = ExtResource("3_kpm7h")
important_stat_text = "8"
important_stat_icon = ExtResource("3_pmldi")
metadata/_custom_type_script = "uid://dj2pv1hiwjfv0"
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_vnqhg"]
bg_color = Color(1, 1, 1, 1)
corner_radius_top_left = 20
corner_radius_top_right = 20
corner_radius_bottom_right = 20
corner_radius_bottom_left = 20
[sub_resource type="Theme" id="Theme_on5kv"]
[sub_resource type="LabelSettings" id="LabelSettings_sx78e"]
[sub_resource type="LabelSettings" id="LabelSettings_gibok"]
line_spacing = -24.965
font = ExtResource("2_plgbn")
font_size = 20
font_color = Color(0.0627451, 0.05882353, 0.16862746, 1)
[sub_resource type="LabelSettings" id="LabelSettings_vnqhg"]
line_spacing = -18.49
font = ExtResource("11_pmldi")
font_color = Color(0.0627451, 0.05882353, 0.16862746, 1)
[sub_resource type="LabelSettings" id="LabelSettings_on5kv"]
font = ExtResource("2_plgbn")
font_size = 40
font_color = Color(1, 0.6509804, 0.09019608, 1)
[sub_resource type="Animation" id="Animation_7wc8v"]
resource_name = "expand"
@@ -49,10 +52,10 @@ _data = {
&"expand": SubResource("Animation_7wc8v")
}
[node name="Card" type="PanelContainer"]
custom_minimum_size = Vector2(250, 0)
[node name="Card" type="PanelContainer" unique_id=1085885349]
custom_minimum_size = Vector2(300, 0)
offset_right = 250.0
offset_bottom = 229.0
offset_bottom = 70.0
size_flags_horizontal = 0
size_flags_vertical = 0
theme = ExtResource("1_m317d")
@@ -60,120 +63,84 @@ theme_override_styles/panel = SubResource("StyleBoxFlat_gibok")
script = ExtResource("2_kpm7h")
info = SubResource("Resource_plgbn")
[node name="GridContainer" type="GridContainer" parent="."]
[node name="MarginContainer" type="MarginContainer" parent="." unique_id=257784765]
layout_mode = 2
theme = ExtResource("1_m317d")
theme_override_constants/h_separation = 0
theme_override_constants/v_separation = 0
[node name="CardUpperPart" type="PanelContainer" parent="GridContainer"]
unique_name_in_owner = true
self_modulate = Color(0.13725491, 0.39215687, 0.6666667, 1)
clip_contents = true
layout_mode = 2
size_flags_horizontal = 3
theme = ExtResource("1_m317d")
theme_override_styles/panel = SubResource("StyleBoxFlat_vnqhg")
[node name="EntityTexture" type="TextureRect" parent="GridContainer/CardUpperPart"]
unique_name_in_owner = true
modulate = Color(1, 1, 1, 0.23137255)
layout_mode = 2
texture = ExtResource("7_mwhj8")
expand_mode = 1
stretch_mode = 6
[node name="MarginContainer" type="MarginContainer" parent="GridContainer/CardUpperPart"]
layout_mode = 2
theme = SubResource("Theme_on5kv")
theme_override_constants/margin_left = 25
[node name="ContentContainer" type="VBoxContainer" parent="GridContainer/CardUpperPart/MarginContainer"]
layout_mode = 2
theme = ExtResource("1_m317d")
theme_override_constants/separation = 10
[node name="TitleContainer" type="HBoxContainer" parent="GridContainer/CardUpperPart/MarginContainer/ContentContainer"]
layout_mode = 2
theme = ExtResource("1_m317d")
[node name="CardTitle" type="Label" parent="GridContainer/CardUpperPart/MarginContainer/ContentContainer/TitleContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
text = "Hello"
label_settings = SubResource("LabelSettings_sx78e")
[node name="CardTypeIcon" type="TextureRect" parent="GridContainer/CardUpperPart/MarginContainer/ContentContainer/TitleContainer"]
unique_name_in_owner = true
custom_minimum_size = Vector2(30, 30)
layout_mode = 2
theme = ExtResource("1_m317d")
texture = ExtResource("6_7wc8v")
expand_mode = 1
stretch_mode = 5
[node name="CardStats" type="MarginContainer" parent="GridContainer/CardUpperPart/MarginContainer/ContentContainer"]
unique_name_in_owner = true
visible = false
layout_mode = 2
theme = ExtResource("1_m317d")
theme_override_constants/margin_left = 0
theme_override_constants/margin_top = 0
theme_override_constants/margin_right = 40
theme_override_constants/margin_bottom = 0
[node name="CardStatsContainer" type="VBoxContainer" parent="GridContainer/CardUpperPart/MarginContainer/ContentContainer/CardStats"]
unique_name_in_owner = true
layout_mode = 2
theme = ExtResource("1_m317d")
theme_override_constants/separation = 6
[node name="CardSections" type="MarginContainer" parent="GridContainer"]
unique_name_in_owner = true
visible = false
layout_mode = 2
[node name="CardSectionsContainer" type="VBoxContainer" parent="GridContainer/CardSections"]
unique_name_in_owner = true
layout_mode = 2
[node name="ImportantStat" type="MarginContainer" parent="."]
layout_mode = 2
theme_override_constants/margin_left = 0
theme_override_constants/margin_top = 30
theme_override_constants/margin_right = 0
theme_override_constants/margin_bottom = 0
[node name="CenterContainer" type="CenterContainer" parent="ImportantStat"]
layout_mode = 2
size_flags_horizontal = 0
size_flags_vertical = 0
use_top_left = true
theme = ExtResource("9_7wc8v")
theme_override_constants/margin_left = 12
theme_override_constants/margin_top = 12
theme_override_constants/margin_right = 12
theme_override_constants/margin_bottom = 12
[node name="ImportantStatIcon" type="TextureRect" parent="ImportantStat/CenterContainer"]
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer" unique_id=1964894247]
layout_mode = 2
size_flags_vertical = 0
theme_override_constants/separation = 8
[node name="HeaderContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer" unique_id=996864300]
layout_mode = 2
[node name="Titles" type="VBoxContainer" parent="MarginContainer/VBoxContainer/HeaderContainer" unique_id=1046118576]
layout_mode = 2
size_flags_horizontal = 3
theme_override_constants/separation = 0
alignment = 1
[node name="Title" type="Label" parent="MarginContainer/VBoxContainer/HeaderContainer/Titles" unique_id=1630293611]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 1
text = "Hello"
label_settings = SubResource("LabelSettings_gibok")
[node name="Subtitle" type="Label" parent="MarginContainer/VBoxContainer/HeaderContainer/Titles" unique_id=715832106]
unique_name_in_owner = true
visible = false
layout_mode = 2
size_flags_vertical = 3
label_settings = SubResource("LabelSettings_vnqhg")
[node name="ImportantStat" type="HBoxContainer" parent="MarginContainer/VBoxContainer/HeaderContainer" unique_id=637623184]
unique_name_in_owner = true
layout_mode = 2
theme_override_constants/separation = 0
[node name="ImportantStatText" type="Label" parent="MarginContainer/VBoxContainer/HeaderContainer/ImportantStat" unique_id=1183919207]
unique_name_in_owner = true
layout_mode = 2
text = "8"
label_settings = SubResource("LabelSettings_on5kv")
horizontal_alignment = 1
vertical_alignment = 1
[node name="ImportantStatIcon" type="TextureRect" parent="MarginContainer/VBoxContainer/HeaderContainer/ImportantStat" unique_id=1669153698]
unique_name_in_owner = true
modulate = Color(1, 0.6509804, 0.09019608, 1)
custom_minimum_size = Vector2(60, 60)
layout_mode = 2
texture = ExtResource("3_kpm7h")
expand_mode = 1
texture = ExtResource("3_pmldi")
expand_mode = 3
stretch_mode = 5
[node name="ImportantStatText" type="Label" parent="ImportantStat/CenterContainer"]
[node name="StatsContainer" type="GridContainer" parent="MarginContainer/VBoxContainer" unique_id=608499902]
unique_name_in_owner = true
visible = false
layout_mode = 2
text = "10"
label_settings = ExtResource("7_pmldi")
theme_override_constants/h_separation = 8
[node name="ArrowDown" type="Control" parent="."]
[node name="SectionContainer" type="VBoxContainer" parent="MarginContainer/VBoxContainer" unique_id=421491898]
unique_name_in_owner = true
visible = false
layout_mode = 2
theme_override_constants/separation = 8
[node name="ArrowDown" type="Control" parent="." unique_id=114640296]
unique_name_in_owner = true
visible = false
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 8
[node name="TextureRect" type="TextureRect" parent="ArrowDown"]
[node name="TextureRect" type="TextureRect" parent="ArrowDown" unique_id=795266440]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
@@ -190,7 +157,5 @@ size_flags_horizontal = 4
size_flags_vertical = 8
texture = ExtResource("11_kpm7h")
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
&"": SubResource("AnimationLibrary_pmldi")
}
[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=966931682]
libraries/ = SubResource("AnimationLibrary_pmldi")