174 lines
5.8 KiB
Plaintext
174 lines
5.8 KiB
Plaintext
[gd_scene format=3 uid="uid://bluq6da7tku3d"]
|
|
|
|
[ext_resource type="Script" uid="uid://cj37ns1ahfvhr" path="res://game/ui/main_menu/main_menu.gd" id="1_ekxnf"]
|
|
[ext_resource type="PackedScene" uid="uid://bicg07c42wm1t" path="res://game/world/main.tscn" id="2_0p1rw"]
|
|
[ext_resource type="Script" uid="uid://7hglx6nfu063" path="res://addons/controller_icons/objects/ControllerIconTexture.gd" id="2_bqqt6"]
|
|
[ext_resource type="Texture2D" uid="uid://d23fefvrd41re" path="res://assets/textures/background/0.png" id="2_wu84c"]
|
|
[ext_resource type="PackedScene" uid="uid://bguem4nrp55gu" path="res://game/ui/options_menu/options_menu.tscn" id="4_1x88f"]
|
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_3agn1"]
|
|
font_size = 64
|
|
|
|
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_bqqt6"]
|
|
|
|
[sub_resource type="Texture2D" id="Texture2D_mkp5f"]
|
|
resource_local_to_scene = false
|
|
resource_name = ""
|
|
script = ExtResource("2_bqqt6")
|
|
path = "ui_accept"
|
|
metadata/_custom_type_script = "uid://7hglx6nfu063"
|
|
|
|
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_1x88f"]
|
|
|
|
[node name="MainMenu" type="Control" unique_id=1471802333]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_ekxnf")
|
|
game_scene = ExtResource("2_0p1rw")
|
|
progression_backgrounds = Array[Texture2D]([ExtResource("2_wu84c")])
|
|
|
|
[node name="Background" type="TextureRect" parent="." unique_id=545049912]
|
|
unique_name_in_owner = true
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
expand_mode = 1
|
|
stretch_mode = 6
|
|
|
|
[node name="GameInfos" type="Control" parent="." unique_id=2060446590]
|
|
unique_name_in_owner = true
|
|
layout_mode = 1
|
|
anchors_preset = 6
|
|
anchor_left = 1.0
|
|
anchor_top = 0.5
|
|
anchor_right = 1.0
|
|
anchor_bottom = 0.5
|
|
offset_left = -40.0
|
|
offset_top = -20.0
|
|
offset_bottom = 20.0
|
|
grow_horizontal = 0
|
|
grow_vertical = 2
|
|
|
|
[node name="GreyedBackground" type="PanelContainer" parent="GameInfos" unique_id=1404024715]
|
|
layout_mode = 0
|
|
anchor_left = 1.0
|
|
anchor_top = 0.5
|
|
anchor_right = 1.0
|
|
anchor_bottom = 0.5
|
|
offset_left = -571.0
|
|
offset_top = -323.5
|
|
offset_bottom = 323.5
|
|
grow_horizontal = 0
|
|
grow_vertical = 2
|
|
|
|
[node name="GameTitle" type="Label" parent="GameInfos" unique_id=745232782]
|
|
layout_mode = 1
|
|
anchors_preset = 6
|
|
anchor_left = 1.0
|
|
anchor_top = 0.5
|
|
anchor_right = 1.0
|
|
anchor_bottom = 0.5
|
|
offset_left = -489.0
|
|
offset_top = -185.0
|
|
offset_right = -45.0
|
|
offset_bottom = -97.0
|
|
grow_horizontal = 0
|
|
grow_vertical = 2
|
|
text = "Tales of PKMN"
|
|
label_settings = SubResource("LabelSettings_3agn1")
|
|
|
|
[node name="Buttons" type="MarginContainer" parent="GameInfos" unique_id=1437260283]
|
|
layout_mode = 1
|
|
anchors_preset = 3
|
|
anchor_left = 1.0
|
|
anchor_top = 1.0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = -347.0
|
|
offset_top = 79.0
|
|
offset_bottom = 304.0
|
|
grow_horizontal = 0
|
|
grow_vertical = 0
|
|
theme_override_constants/margin_right = 200
|
|
theme_override_constants/margin_bottom = 150
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="GameInfos/Buttons" unique_id=212717997]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 12
|
|
|
|
[node name="StartContainer" type="PanelContainer" parent="GameInfos/Buttons/VBoxContainer" unique_id=455366583]
|
|
layout_mode = 2
|
|
theme_override_styles/panel = SubResource("StyleBoxEmpty_bqqt6")
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="GameInfos/Buttons/VBoxContainer/StartContainer" unique_id=980574030]
|
|
layout_mode = 2
|
|
|
|
[node name="Start" type="Button" parent="GameInfos/Buttons/VBoxContainer/StartContainer/HBoxContainer" unique_id=1823965781]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
focus_next = NodePath("../../../QuitContainer/HBoxContainer/Quit")
|
|
theme_override_constants/icon_max_width = 38
|
|
text = "Appuyer sur"
|
|
icon = SubResource("Texture2D_mkp5f")
|
|
flat = true
|
|
icon_alignment = 2
|
|
|
|
[node name="OptionsContainer" type="PanelContainer" parent="GameInfos/Buttons/VBoxContainer" unique_id=710426258]
|
|
layout_mode = 2
|
|
theme_override_styles/panel = SubResource("StyleBoxEmpty_1x88f")
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="GameInfos/Buttons/VBoxContainer/OptionsContainer" unique_id=1625967396]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
size_flags_vertical = 4
|
|
|
|
[node name="Options" type="Button" parent="GameInfos/Buttons/VBoxContainer/OptionsContainer/HBoxContainer" unique_id=935792420]
|
|
layout_mode = 2
|
|
text = "Options"
|
|
flat = true
|
|
|
|
[node name="QuitContainer" type="PanelContainer" parent="GameInfos/Buttons/VBoxContainer" unique_id=24421836]
|
|
layout_mode = 2
|
|
theme_override_styles/panel = SubResource("StyleBoxEmpty_bqqt6")
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="GameInfos/Buttons/VBoxContainer/QuitContainer" unique_id=174332387]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
|
|
[node name="Quit" type="Button" parent="GameInfos/Buttons/VBoxContainer/QuitContainer/HBoxContainer" unique_id=247251645]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
focus_previous = NodePath("../../../StartContainer/HBoxContainer/Start")
|
|
text = "Quitter le jeu"
|
|
flat = true
|
|
icon_alignment = 2
|
|
|
|
[node name="VersionLabel" type="Label" parent="." unique_id=673582892]
|
|
unique_name_in_owner = true
|
|
layout_mode = 1
|
|
anchors_preset = 2
|
|
anchor_top = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_top = -23.0
|
|
offset_right = 40.0
|
|
grow_vertical = 0
|
|
|
|
[node name="MusicPlayer" type="AudioStreamPlayer" parent="." unique_id=1279071971]
|
|
unique_name_in_owner = true
|
|
|
|
[node name="OptionsMenu" parent="." unique_id=2002839596 instance=ExtResource("4_1x88f")]
|
|
unique_name_in_owner = true
|
|
visible = false
|
|
layout_mode = 1
|
|
|
|
[connection signal="pressed" from="GameInfos/Buttons/VBoxContainer/StartContainer/HBoxContainer/Start" to="." method="_on_start_pressed"]
|
|
[connection signal="pressed" from="GameInfos/Buttons/VBoxContainer/OptionsContainer/HBoxContainer/Options" to="." method="_on_options_pressed"]
|
|
[connection signal="pressed" from="GameInfos/Buttons/VBoxContainer/QuitContainer/HBoxContainer/Quit" to="." method="_on_quit_pressed"]
|