try/PauseMenu.tscn
2023-10-31 19:24:10 -07:00

71 lines
1.9 KiB
Text

[gd_scene load_steps=2 format=2]
[ext_resource path="res://PauseMenu.gd" type="Script" id=1]
[node name="PauseMenu" type="CanvasLayer"]
pause_mode = 2
visible = false
script = ExtResource( 1 )
[node name="Container" type="Control" parent="."]
margin_left = 320.0
margin_right = 704.0
margin_bottom = 136.0
[node name="RichTextLabel" type="RichTextLabel" parent="Container"]
margin_top = 56.0
margin_right = 384.0
margin_bottom = 106.0
size_flags_vertical = 3
bbcode_enabled = true
bbcode_text = "
[center][wave amp=100 freq=1]Game Paused[/wave][/center]"
text = "
Game Paused"
[node name="VBoxContainer" type="VBoxContainer" parent="Container"]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -192.0
margin_top = 72.0
margin_right = 192.0
margin_bottom = 392.0
[node name="ResumeButton" type="Button" parent="Container/VBoxContainer"]
margin_right = 384.0
margin_bottom = 60.0
size_flags_vertical = 3
text = "Resume Game"
[node name="LoadGameButton" type="Button" parent="Container/VBoxContainer"]
margin_top = 64.0
margin_right = 384.0
margin_bottom = 125.0
size_flags_vertical = 3
text = "Load Game"
[node name="OptionsButton" type="Button" parent="Container/VBoxContainer"]
margin_top = 129.0
margin_right = 384.0
margin_bottom = 190.0
size_flags_vertical = 3
text = "Options"
[node name="SaveQuitButton" type="Button" parent="Container/VBoxContainer"]
margin_top = 194.0
margin_right = 384.0
margin_bottom = 255.0
size_flags_vertical = 3
text = "Save & Quit"
[node name="QuitButton" type="Button" parent="Container/VBoxContainer"]
margin_top = 259.0
margin_right = 384.0
margin_bottom = 320.0
size_flags_vertical = 3
text = "Quit"
[connection signal="pressed" from="Container/VBoxContainer/ResumeButton" to="." method="_on_ResumeButton_pressed"]
[connection signal="pressed" from="Container/VBoxContainer/QuitButton" to="." method="_on_QuitButton_pressed"]