85 lines
2.2 KiB
Plaintext
85 lines
2.2 KiB
Plaintext
[gd_scene load_steps=6 format=2]
|
|
|
|
[ext_resource path="res://assets/meta/ui_theme.tres" type="Theme" id=1]
|
|
[ext_resource path="res://src/UserInterface/Buttons/QuitButton.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/Buttons/UserInterface.gd" type="Script" id=5]
|
|
|
|
[node name="UserInterface" type="Control"]
|
|
pause_mode = 2
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
theme = ExtResource( 1 )
|
|
script = ExtResource( 5 )
|
|
|
|
[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
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="RetryButton" parent="PauseOverlay/VBoxContainer" instance=ExtResource( 4 )]
|
|
margin_right = 222.0
|
|
margin_bottom = 80.0
|
|
|
|
[node name="MainMenuButton" parent="PauseOverlay/VBoxContainer" instance=ExtResource( 3 )]
|
|
margin_top = 84.0
|
|
margin_right = 222.0
|
|
margin_bottom = 164.0
|
|
text = "Main Menu"
|
|
next_scene_path = "res://src/UserInterface/Screens/MainScreen.tscn"
|
|
|
|
[node name="QuitButton" parent="PauseOverlay/VBoxContainer" instance=ExtResource( 2 )]
|
|
anchor_left = 0.0
|
|
anchor_right = 0.0
|
|
margin_left = 0.0
|
|
margin_top = 168.0
|
|
margin_right = 222.0
|
|
margin_bottom = 250.0
|
|
|
|
[node name="PauseLabel" type="Label" parent="PauseOverlay"]
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
margin_left = -59.0
|
|
margin_top = -187.5
|
|
margin_right = 59.0
|
|
margin_bottom = -142.5
|
|
text = "Pause"
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Label" type="Label" parent="."]
|
|
anchor_left = 1.0
|
|
anchor_right = 1.0
|
|
margin_left = -84.0
|
|
margin_right = -5.0
|
|
margin_bottom = 24.0
|
|
rect_scale = Vector2( 0.590909, 0.627907 )
|
|
text = "Score: %s"
|
|
align = 2
|