Menu de base
Un menu qui propose de démarrer le jeu ou de le continuer, sauver ne sert pour l'instant à rien
This commit is contained in:
62
UI/menu.tscn
Normal file
62
UI/menu.tscn
Normal file
@@ -0,0 +1,62 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://44wla7mlivqm"]
|
||||
|
||||
[ext_resource type="Script" path="res://UI/menu.gd" id="1_30mo7"]
|
||||
[ext_resource type="FontFile" uid="uid://c1lnxul6k2adw" path="res://assest/font/vhs-gothic.ttf" id="2_6inip"]
|
||||
[ext_resource type="Theme" uid="uid://bn1flbuijm27d" path="res://UI/menu_button.tres" id="3_feq31"]
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_q3w7i"]
|
||||
line_spacing = 45.0
|
||||
font = ExtResource("2_6inip")
|
||||
font_size = 60
|
||||
|
||||
[node name="Menu" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_30mo7")
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="Panel" type="Panel" parent="MarginContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_stretch_ratio = 1.37
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/Panel"]
|
||||
layout_mode = 2
|
||||
offset_right = 1920.0
|
||||
offset_bottom = 1080.0
|
||||
|
||||
[node name="Label" type="Label" parent="MarginContainer/Panel/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "
|
||||
Chaussette sale, le jeu!
|
||||
|
||||
"
|
||||
label_settings = SubResource("LabelSettings_q3w7i")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="HSeparator" type="HSeparator" parent="MarginContainer/Panel/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Button" type="Button" parent="MarginContainer/Panel/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme = ExtResource("3_feq31")
|
||||
text = "start"
|
||||
|
||||
[node name="Save" type="Button" parent="MarginContainer/Panel/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme = ExtResource("3_feq31")
|
||||
text = "save"
|
||||
|
||||
[connection signal="pressed" from="MarginContainer/Panel/VBoxContainer/Button" to="." method="_on_button_pressed"]
|
||||
[connection signal="pressed" from="MarginContainer/Panel/VBoxContainer/Save" to="." method="_on_save_pressed"]
|
||||
Reference in New Issue
Block a user