83 lines
2.6 KiB
Plaintext
83 lines
2.6 KiB
Plaintext
[gd_scene load_steps=7 format=2]
|
|
|
|
[ext_resource path="res://assets/meta/ui_theme.tres" type="Theme" id=1]
|
|
[ext_resource path="res://src/Utilities/SignalManager.tscn" type="PackedScene" id=2]
|
|
[ext_resource path="res://src/UserInterface/Buttons/ChangeSceneButton.tscn" type="PackedScene" id=3]
|
|
[ext_resource path="res://src/UserInterface/Buttons/RetryButton.tscn" type="PackedScene" id=4]
|
|
[ext_resource path="res://src/UserInterface/Screens/InGameMenu/PauseScreen.gd" type="Script" id=5]
|
|
[ext_resource path="res://src/UserInterface/Screens/InGameMenu/Continue.gd" type="Script" id=6]
|
|
|
|
[node name="PauseScreen" type="Control"]
|
|
pause_mode = 2
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
mouse_filter = 2
|
|
theme = ExtResource( 1 )
|
|
script = ExtResource( 5 )
|
|
|
|
[node name="SignalManager" parent="." instance=ExtResource( 2 )]
|
|
|
|
[node name="PauseOverlay" type="ColorRect" parent="."]
|
|
visible = false
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
color = Color( 0, 0, 0, 0.235294 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Title" type="Label" parent="PauseOverlay"]
|
|
margin_right = 170.0
|
|
margin_bottom = 45.0
|
|
text = "Wumper"
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="PauseOverlay"]
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
margin_left = -111.0
|
|
margin_top = -125.0
|
|
margin_right = 111.0
|
|
margin_bottom = 125.0
|
|
focus_mode = 2
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Continue" type="Button" parent="PauseOverlay/VBoxContainer"]
|
|
margin_right = 222.0
|
|
margin_bottom = 80.0
|
|
focus_neighbour_top = NodePath("../MainMenuButton")
|
|
focus_neighbour_bottom = NodePath("../RetryButton")
|
|
size_flags_vertical = 3
|
|
text = "Continue"
|
|
script = ExtResource( 6 )
|
|
|
|
[node name="RetryButton" parent="PauseOverlay/VBoxContainer" instance=ExtResource( 4 )]
|
|
margin_right = 222.0
|
|
margin_bottom = 80.0
|
|
focus_neighbour_top = NodePath("../Continue")
|
|
focus_neighbour_bottom = NodePath("../MainMenuButton")
|
|
|
|
[node name="MainMenuButton" parent="PauseOverlay/VBoxContainer" instance=ExtResource( 3 )]
|
|
margin_top = 84.0
|
|
margin_right = 222.0
|
|
margin_bottom = 165.0
|
|
focus_neighbour_top = NodePath("../RetryButton")
|
|
focus_neighbour_bottom = NodePath("../Continue")
|
|
text = "Main Menu"
|
|
next_scene_path = "res://src/UserInterface/Screens/MainMenu/MainScreen.tscn"
|
|
|
|
[node name="PauseLabel" type="Label" parent="PauseOverlay"]
|
|
anchor_left = 0.5
|
|
anchor_right = 0.5
|
|
margin_left = -19.0
|
|
margin_right = 19.0
|
|
margin_bottom = 15.0
|
|
size_flags_horizontal = 0
|
|
size_flags_vertical = 0
|
|
text = "Pause"
|
|
|
|
[connection signal="button_up" from="PauseOverlay/VBoxContainer/Continue" to="PauseOverlay/VBoxContainer/Continue" method="_on_button_up"]
|