mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-11 14:55:55 +00:00
Debug menu
This commit is contained in:
parent
5b2b11545a
commit
778dc10d9a
7 changed files with 143 additions and 6 deletions
45
Scenes/HUD/debug_menu.tscn
Normal file
45
Scenes/HUD/debug_menu.tscn
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
[gd_scene load_steps=7 format=3 uid="uid://bemu3l6b1e84y"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scripts/UI/DebugMenu.cs" id="1_5vtnj"]
|
||||
[ext_resource type="Theme" uid="uid://dnsadvmunm76k" path="res://Resources/Styles/MainMenuButtons.tres" id="2_wqb8e"]
|
||||
[ext_resource type="PackedScene" uid="uid://bv451a8wgty4u" path="res://Scenes/test.tscn" id="3_nd4do"]
|
||||
[ext_resource type="PackedScene" uid="uid://c4yvclwjr2g3s" path="res://Scenes/naviogation_test.tscn" id="4_sxmbn"]
|
||||
[ext_resource type="PackedScene" uid="uid://bu5fvatj2j08j" path="res://Scenes/Maps/BossTestArena.tscn" id="5_jms4h"]
|
||||
[ext_resource type="PackedScene" uid="uid://bx31ou6tw3kd1" path="res://Scenes/Maps/RebelBase.tscn" id="6_4c6m4"]
|
||||
|
||||
[node name="DebugMenu" type="VBoxContainer" node_paths=PackedStringArray("ButtonsContainer")]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_5vtnj")
|
||||
ButtonTheme = ExtResource("2_wqb8e")
|
||||
Levels = Array[PackedScene]([ExtResource("3_nd4do"), ExtResource("4_sxmbn"), ExtResource("5_jms4h"), ExtResource("6_4c6m4")])
|
||||
ButtonsContainer = NodePath("Level Select")
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="."]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="CheckBox" type="CheckBox" parent="HBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme = ExtResource("2_wqb8e")
|
||||
theme_override_font_sizes/font_size = 14
|
||||
text = "Skip Dialogues"
|
||||
|
||||
[node name="God Mode" type="CheckBox" parent="HBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme = ExtResource("2_wqb8e")
|
||||
theme_override_font_sizes/font_size = 14
|
||||
text = "God Mode
|
||||
"
|
||||
|
||||
[node name="Level Select" type="FlowContainer" parent="."]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="BackButton" type="Button" parent="Level Select"]
|
||||
layout_mode = 2
|
||||
theme = ExtResource("2_wqb8e")
|
||||
text = "Back"
|
||||
|
||||
[connection signal="pressed" from="Level Select/BackButton" to="." method="_on_back_button_pressed"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue