Moved the ingame menu and interface settings to a different folder.

This commit is contained in:
Relintai 2022-02-12 19:59:26 +01:00
parent f98be58531
commit afb1ad62d4
6 changed files with 9 additions and 8 deletions

View File

@ -1,10 +1,10 @@
[gd_scene load_steps=6 format=2] [gd_scene load_steps=6 format=2]
[ext_resource path="res://ui/theme/ui_theme.tres" type="Theme" id=1] [ext_resource path="res://ui/theme/ui_theme.tres" type="Theme" id=1]
[ext_resource path="res://ui/windows/options/Options.tscn" type="PackedScene" id=2] [ext_resource path="res://ui/player/player_ui/ingame_menu/ExitButton.gd" type="Script" id=2]
[ext_resource path="res://ui/ingame_menu/ExitButton.gd" type="Script" id=3] [ext_resource path="res://ui/windows/options/Options.tscn" type="PackedScene" id=3]
[ext_resource path="res://ui/windows/keybinds/Keybinds.tscn" type="PackedScene" id=4] [ext_resource path="res://ui/windows/keybinds/Keybinds.tscn" type="PackedScene" id=4]
[ext_resource path="res://ui/interface/InterfaceOptions.tscn" type="PackedScene" id=5] [ext_resource path="res://ui/player/player_ui/interface/InterfaceOptions.tscn" type="PackedScene" id=5]
[node name="IngameMenu" type="Control"] [node name="IngameMenu" type="Control"]
anchor_right = 1.0 anchor_right = 1.0
@ -65,9 +65,9 @@ margin_top = 136.0
margin_right = 147.0 margin_right = 147.0
margin_bottom = 162.57 margin_bottom = 162.57
text = "Exit" text = "Exit"
script = ExtResource( 3 ) script = ExtResource( 2 )
[node name="Options" parent="." instance=ExtResource( 2 )] [node name="Options" parent="." instance=ExtResource( 3 )]
visible = false visible = false
anchor_left = 0.5 anchor_left = 0.5
anchor_top = 0.5 anchor_top = 0.5

View File

@ -1,7 +1,7 @@
[gd_scene load_steps=3 format=2] [gd_scene load_steps=3 format=2]
[ext_resource path="res://ui/interface/SetActionbarAsDefault.gd" type="Script" id=1] [ext_resource path="res://ui/player/player_ui/interface/SetActionbarAsDefault.gd" type="Script" id=1]
[ext_resource path="res://ui/interface/InterfaceOptions.gd" type="Script" id=2] [ext_resource path="res://ui/player/player_ui/interface/InterfaceOptions.gd" type="Script" id=2]
[node name="InterfaceOptions" type="PanelContainer"] [node name="InterfaceOptions" type="PanelContainer"]
anchor_right = 1.0 anchor_right = 1.0
@ -49,4 +49,5 @@ margin_right = 1010.0
margin_bottom = 20.0 margin_bottom = 20.0
text = "Set current actionbar setup as default" text = "Set current actionbar setup as default"
script = ExtResource( 1 ) script = ExtResource( 1 )
[connection signal="pressed" from="VBoxContainer2/HBoxContainer/Button" to="." method="hide"] [connection signal="pressed" from="VBoxContainer2/HBoxContainer/Button" to="." method="hide"]

View File

@ -6,7 +6,7 @@
[ext_resource path="res://ui/theme/unlocked_icon.tres" type="Texture" id=4] [ext_resource path="res://ui/theme/unlocked_icon.tres" type="Texture" id=4]
[ext_resource path="res://player/GUI.gd" type="Script" id=5] [ext_resource path="res://player/GUI.gd" type="Script" id=5]
[ext_resource path="res://ui/player/player_ui/player_ui.gd" type="Script" id=6] [ext_resource path="res://ui/player/player_ui/player_ui.gd" type="Script" id=6]
[ext_resource path="res://ui/ingame_menu/IngameMenu.tscn" type="PackedScene" id=7] [ext_resource path="res://ui/player/player_ui/ingame_menu/IngameMenu.tscn" type="PackedScene" id=7]
[ext_resource path="res://ui/player/player_ui/buttons/Buttons.gd" type="Script" id=8] [ext_resource path="res://ui/player/player_ui/buttons/Buttons.gd" type="Script" id=8]
[ext_resource path="res://ui/player/player_ui/buttons/ImageButton.tscn" type="PackedScene" id=9] [ext_resource path="res://ui/player/player_ui/buttons/ImageButton.tscn" type="PackedScene" id=9]