Files
Nockin_On_Hells_Door/scene/control/menu.tscn
2024-10-19 09:01:05 +02:00

75 lines
2.1 KiB
Plaintext

[gd_scene load_steps=6 format=3 uid="uid://co0u7xd45nxv1"]
[ext_resource type="FontFile" uid="uid://c0i81edd5mitx" path="res://font/October Crow.ttf" id="1_ndt1a"]
[ext_resource type="Script" path="res://script/Menu.cs" id="1_pfhrs"]
[ext_resource type="Theme" uid="uid://depo4fa5p8k8m" path="res://themes/button.tres" id="2_166c6"]
[ext_resource type="Texture2D" uid="uid://surjj4dbldjy" path="res://model/back_menu.png" id="2_e3nc5"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_ukgpa"]
[node name="menu" type="Control"]
process_mode = 3
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_pfhrs")
[node name="Panel" type="Panel" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = SubResource("StyleBoxEmpty_ukgpa")
[node name="Sprite2D" type="Sprite2D" parent="Panel"]
position = Vector2(200, 150)
texture = ExtResource("2_e3nc5")
[node name="Paused" type="Label" parent="."]
layout_mode = 2
offset_left = 28.0
offset_top = 17.0
offset_right = 200.0
offset_bottom = 85.0
theme_override_fonts/font = ExtResource("1_ndt1a")
theme_override_font_sizes/font_size = 64
text = "Paused"
[node name="VBoxContainer" type="VBoxContainer" parent="."]
custom_minimum_size = Vector2(100, 0)
layout_mode = 2
offset_left = 250.0
offset_top = 16.0
offset_right = 350.0
offset_bottom = 316.0
size_flags_horizontal = 4
theme_override_constants/separation = 16
alignment = 1
[node name="Resume" type="Button" parent="VBoxContainer"]
layout_mode = 2
theme = ExtResource("2_166c6")
text = "Resume
"
[node name="option" type="Button" parent="VBoxContainer"]
layout_mode = 2
theme = ExtResource("2_166c6")
text = "Options
"
[node name="exit" type="Button" parent="VBoxContainer"]
layout_mode = 2
theme = ExtResource("2_166c6")
text = "Exit
"
[connection signal="button_down" from="VBoxContainer/Resume" to="." method="ResumeDown"]
[connection signal="button_down" from="VBoxContainer/option" to="." method="OptionDown"]
[connection signal="button_down" from="VBoxContainer/exit" to="." method="ExitDown"]