hero-mark-2/objects/hud/pause_screen.tscn
2023-10-30 11:16:35 -04:00

136 lines
4.6 KiB
Text

[gd_scene load_steps=10 format=2]
[ext_resource path="res://ui/arrow_figure_8.tres" type="Material" id=1]
[ext_resource path="res://ui/theme.tres" type="Theme" id=2]
[ext_resource path="res://graphics/hud/pause_arrow.png" type="Texture" id=3]
[ext_resource path="res://objects/hud/pause_screen.gd" type="Script" id=4]
[ext_resource path="res://ui/2ndpuberty_no_dropshadow.tres" type="Theme" id=5]
[ext_resource path="res://ui/2ndpuberty_outline.tres" type="Material" id=6]
[ext_resource path="res://objects/hud/options_screen.tscn" type="PackedScene" id=7]
[ext_resource path="res://ui/border.png" type="Texture" id=8]
[ext_resource path="res://objects/hud/menu_sounds.tscn" type="PackedScene" id=9]
[node name="PauseScreen" type="CanvasLayer"]
pause_mode = 2
layer = 110
script = ExtResource( 4 )
[node name="Border" type="NinePatchRect" parent="."]
margin_left = 64.0
margin_top = 25.0
margin_right = 192.0
margin_bottom = 82.0
texture = ExtResource( 8 )
patch_margin_left = 3
patch_margin_top = 3
patch_margin_right = 3
patch_margin_bottom = 3
[node name="ColorRect" type="ColorRect" parent="."]
pause_mode = 2
margin_left = 67.0
margin_top = 28.0
margin_right = 189.0
margin_bottom = 79.0
color = Color( 0.239216, 0.239216, 0.443137, 1 )
[node name="Paused" type="Label" parent="."]
pause_mode = 2
material = ExtResource( 6 )
margin_left = 64.0
margin_top = 14.0
margin_right = 192.0
margin_bottom = 24.0
theme = ExtResource( 5 )
text = "PAUSED!"
align = 1
[node name="Body" type="Label" parent="."]
pause_mode = 2
margin_left = 64.0
margin_top = 29.0
margin_right = 192.0
margin_bottom = 78.0
theme = ExtResource( 2 )
text = "RESUME
RESTART
OPTIONS
EXit level"
align = 1
[node name="Resume" type="TextureButton" parent="Body"]
pause_mode = 2
material = ExtResource( 1 )
margin_left = 36.0
margin_top = 1.0
margin_right = 44.0
margin_bottom = 9.0
focus_neighbour_left = NodePath(".")
focus_neighbour_right = NodePath(".")
focus_neighbour_bottom = NodePath("../Restart")
texture_focused = ExtResource( 3 )
[node name="Restart" type="TextureButton" parent="Body"]
pause_mode = 2
material = ExtResource( 1 )
margin_left = 32.0
margin_top = 14.0
margin_right = 40.0
margin_bottom = 22.0
focus_neighbour_left = NodePath(".")
focus_neighbour_top = NodePath("../Resume")
focus_neighbour_right = NodePath(".")
focus_neighbour_bottom = NodePath("../Settings")
texture_focused = ExtResource( 3 )
[node name="Settings" type="TextureButton" parent="Body"]
pause_mode = 2
material = ExtResource( 1 )
margin_left = 32.0
margin_top = 27.0
margin_right = 40.0
margin_bottom = 35.0
focus_neighbour_left = NodePath(".")
focus_neighbour_top = NodePath("../Restart")
focus_neighbour_right = NodePath(".")
focus_neighbour_bottom = NodePath("../ExitLevel")
texture_focused = ExtResource( 3 )
[node name="ExitLevel" type="TextureButton" parent="Body"]
pause_mode = 2
material = ExtResource( 1 )
margin_left = 22.0
margin_top = 40.0
margin_right = 30.0
margin_bottom = 48.0
focus_neighbour_left = NodePath(".")
focus_neighbour_top = NodePath("../Settings")
focus_neighbour_right = NodePath(".")
texture_focused = ExtResource( 3 )
[node name="LoreContainer" type="MarginContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 8.0
margin_top = 84.0
margin_right = -8.0
margin_bottom = -14.0
[node name="OptionsScreen" parent="." instance=ExtResource( 7 )]
visible = false
[node name="MenuSounds" parent="." instance=ExtResource( 9 )]
[connection signal="focus_entered" from="Body/Resume" to="MenuSounds" method="play_select_sound"]
[connection signal="pressed" from="Body/Resume" to="." method="_on_Resume_pressed"]
[connection signal="pressed" from="Body/Resume" to="MenuSounds" method="play_confirm_sound"]
[connection signal="focus_entered" from="Body/Restart" to="MenuSounds" method="play_select_sound"]
[connection signal="pressed" from="Body/Restart" to="." method="_on_Restart_pressed"]
[connection signal="pressed" from="Body/Restart" to="MenuSounds" method="play_confirm_sound"]
[connection signal="focus_entered" from="Body/Settings" to="MenuSounds" method="play_select_sound"]
[connection signal="pressed" from="Body/Settings" to="." method="_on_Settings_pressed"]
[connection signal="pressed" from="Body/Settings" to="MenuSounds" method="play_confirm_sound"]
[connection signal="focus_entered" from="Body/ExitLevel" to="MenuSounds" method="play_select_sound"]
[connection signal="pressed" from="Body/ExitLevel" to="." method="_on_ExitLevel_pressed"]
[connection signal="pressed" from="Body/ExitLevel" to="MenuSounds" method="play_confirm_sound"]
[connection signal="exit" from="OptionsScreen" to="." method="_on_OptionsScreen_exit" flags=3]