Changed esc menu

This commit is contained in:
Kristofers Solo 2021-11-18 02:42:28 +02:00
parent 53c4df6c4b
commit 8a2de895f2

View File

@ -1,11 +1,12 @@
[gd_scene load_steps=8 format=2]
[gd_scene load_steps=9 format=2]
[ext_resource path="res://source/fonts/oxygen/Oxygen-Bold.ttf" type="DynamicFontData" id=1]
[ext_resource path="res://source/scenes/OVERLAY/elements/button.tscn" type="PackedScene" id=2]
[ext_resource path="res://source/assets/scripts/ui_element_handlers/menu_button_overlay.gd" type="Script" id=3]
[ext_resource path="res://source/assets/sprites/GUI/logo_design/FUNCit_game_logo_dark_transparent.png" type="Texture" id=4]
[sub_resource type="StyleBoxFlat" id=1]
bg_color = Color( 0, 0, 0, 0.380392 )
bg_color = Color( 0, 0, 0, 0.588235 )
[sub_resource type="DynamicFont" id=2]
size = 30
@ -20,7 +21,7 @@ use_filter = true
font_data = ExtResource( 1 )
[sub_resource type="DynamicFont" id=4]
size = 30
size = 50
use_mipmaps = true
use_filter = true
font_data = ExtResource( 1 )
@ -36,34 +37,45 @@ __meta__ = {
}
[node name="panel" type="Panel" parent="."]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -960.0
margin_top = -540.0
margin_right = 960.0
margin_bottom = 540.0
anchor_right = 1.0
anchor_bottom = 1.0
custom_styles/panel = SubResource( 1 )
__meta__ = {
"_edit_lock_": true,
"_edit_use_anchors_": false
}
[node name="FUNCit_game_logo_dark_transparent" type="Sprite" parent="panel"]
position = Vector2( 960, 270 )
scale = Vector2( 0.5, 0.5 )
texture = ExtResource( 4 )
__meta__ = {
"_edit_lock_": true
}
[node name="return_to_game" parent="panel" instance=ExtResource( 2 )]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -150.0
margin_top = -180.0
margin_right = 150.0
margin_bottom = -108.0
margin_left = -195.0
margin_top = -20.0
margin_right = 105.0
margin_bottom = 52.0
rect_scale = Vector2( 1.3, 1 )
focus_mode = 2
enabled_focus_mode = 2
[node name="Label" type="Label" parent="panel/return_to_game"]
anchor_right = 1.0
anchor_bottom = 1.0
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -150.0
margin_top = -36.0
margin_right = 240.0
margin_bottom = 36.0
rect_scale = Vector2( 0.77, 1 )
custom_fonts/font = SubResource( 2 )
custom_colors/font_color = Color( 0, 0, 0, 1 )
text = "Return to game"
@ -75,16 +87,19 @@ anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -150.0
margin_top = -36.0
margin_right = 150.0
margin_bottom = 36.0
margin_left = -195.0
margin_top = 65.0
margin_right = 105.0
margin_bottom = 137.0
rect_scale = Vector2( 1.3, 1 )
focus_mode = 2
enabled_focus_mode = 2
[node name="Label" type="Label" parent="panel/return_to_main_menu"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_right = 90.0
rect_scale = Vector2( 0.77, 1 )
custom_fonts/font = SubResource( 3 )
custom_colors/font_color = Color( 0, 0, 0, 1 )
text = "Return to main menu"
@ -99,22 +114,32 @@ anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -150.0
margin_top = 108.0
margin_right = 150.0
margin_bottom = 180.0
margin_left = -75.0
margin_top = 180.0
margin_right = 225.0
margin_bottom = 252.0
rect_scale = Vector2( 0.5, 0.6 )
focus_mode = 2
enabled_focus_mode = 2
[node name="Label" type="Label" parent="panel/exit_game"]
anchor_right = 1.0
anchor_bottom = 1.0
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -150.0
margin_top = -36.0
margin_right = 150.0
margin_bottom = 50.0
rect_scale = Vector2( 1, 0.84 )
custom_fonts/font = SubResource( 4 )
custom_colors/font_color = Color( 0, 0, 0, 1 )
text = "Exit game"
text = "Exit"
align = 1
valign = 1
uppercase = true
__meta__ = {
"_edit_lock_": true,
"_edit_use_anchors_": false
}