mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 11:15:33 +00:00
Debug menu fix
This commit is contained in:
parent
778dc10d9a
commit
fe01ac4ef1
9 changed files with 242 additions and 33 deletions
42
Scenes/HUD/pause_menu.tscn
Normal file
42
Scenes/HUD/pause_menu.tscn
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
[gd_scene load_steps=5 format=3 uid="uid://bybd38ivpb2ly"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scripts/UI/PauseMenu.cs" id="1_ntuto"]
|
||||
[ext_resource type="FontFile" uid="uid://ccm3u37q1hvux" path="res://fonts/Xolonium-Regular.ttf" id="2_kog7o"]
|
||||
[ext_resource type="Theme" uid="uid://dnsadvmunm76k" path="res://Resources/Styles/MainMenuButtons.tres" id="3_3pd7q"]
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_f8f0c"]
|
||||
font = ExtResource("2_kog7o")
|
||||
|
||||
[node name="PauseMenu" type="VBoxContainer" node_paths=PackedStringArray("ResumeButton", "QuitButton", "OptionsButton", "DebugButton")]
|
||||
script = ExtResource("1_ntuto")
|
||||
MainMenuScene = "res://Scenes/MainMenu.tscn"
|
||||
ResumeButton = NodePath("ResumeButton")
|
||||
QuitButton = NodePath("Main Menu")
|
||||
OptionsButton = NodePath("Options")
|
||||
DebugButton = NodePath("Debug")
|
||||
|
||||
[node name="Label" type="Label" parent="."]
|
||||
layout_mode = 2
|
||||
text = "Paused"
|
||||
label_settings = SubResource("LabelSettings_f8f0c")
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="ResumeButton" type="Button" parent="."]
|
||||
layout_mode = 2
|
||||
theme = ExtResource("3_3pd7q")
|
||||
text = "Resume"
|
||||
|
||||
[node name="Options" type="Button" parent="."]
|
||||
layout_mode = 2
|
||||
theme = ExtResource("3_3pd7q")
|
||||
text = "Options"
|
||||
|
||||
[node name="Debug" type="Button" parent="."]
|
||||
layout_mode = 2
|
||||
theme = ExtResource("3_3pd7q")
|
||||
text = "Debug"
|
||||
|
||||
[node name="Main Menu" type="Button" parent="."]
|
||||
layout_mode = 2
|
||||
theme = ExtResource("3_3pd7q")
|
||||
text = "Main Menu"
|
||||
Loading…
Add table
Add a link
Reference in a new issue