bugged-racing/menu/pause_menu.tscn

61 lines
1.7 KiB
Plaintext
Raw Normal View History

2022-01-20 15:50:44 +00:00
[gd_scene load_steps=3 format=2]
2021-11-13 22:06:38 +00:00
2022-01-20 15:50:44 +00:00
[ext_resource path="res://menu/default_theme.tres" type="Theme" id=1]
2021-11-18 19:48:47 +00:00
[ext_resource path="res://menu/pause_menu.gd" type="Script" id=2]
2021-11-13 22:06:38 +00:00
[node name="PauseMenu" type="PopupDialog"]
pause_mode = 2
anchor_left = 0.25
anchor_top = 0.25
anchor_right = 0.75
anchor_bottom = 0.75
2022-01-20 15:50:44 +00:00
theme = ExtResource( 1 )
2021-11-13 22:06:38 +00:00
script = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="MarginContainer" type="MarginContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 20.0
margin_top = 20.0
margin_right = -20.0
margin_bottom = -20.0
[node name="VSplitContainer" type="VSplitContainer" parent="MarginContainer"]
margin_right = 472.0
margin_bottom = 260.0
dragger_visibility = 1
[node name="Title" type="Label" parent="MarginContainer/VSplitContainer"]
margin_right = 472.0
2022-01-20 15:50:44 +00:00
margin_bottom = 36.0
2021-11-13 22:06:38 +00:00
text = "Game Paused"
align = 1
valign = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/VSplitContainer"]
2022-01-20 15:50:44 +00:00
margin_top = 60.0
2021-11-13 22:06:38 +00:00
margin_right = 472.0
margin_bottom = 260.0
alignment = 1
[node name="ContinueButton" type="Button" parent="MarginContainer/VSplitContainer/VBoxContainer"]
2022-01-20 15:50:44 +00:00
margin_top = 48.0
2021-11-13 22:06:38 +00:00
margin_right = 472.0
2022-01-20 15:50:44 +00:00
margin_bottom = 96.0
2021-11-13 22:06:38 +00:00
text = "Continue"
[node name="ExitButton" type="Button" parent="MarginContainer/VSplitContainer/VBoxContainer"]
2022-01-20 15:50:44 +00:00
margin_top = 104.0
2021-11-13 22:06:38 +00:00
margin_right = 472.0
2022-01-20 15:50:44 +00:00
margin_bottom = 152.0
2021-11-13 22:06:38 +00:00
text = "Exit to main menu"
[connection signal="pressed" from="MarginContainer/VSplitContainer/VBoxContainer/ContinueButton" to="." method="_on_ContinueButton_pressed"]
[connection signal="pressed" from="MarginContainer/VSplitContainer/VBoxContainer/ExitButton" to="." method="_on_ExitButton_pressed"]