forked from team-sg/hero-mark-2
103 lines
2.9 KiB
Text
103 lines
2.9 KiB
Text
[gd_scene load_steps=8 format=2]
|
|
|
|
[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]
|
|
|
|
[node name="PauseScreen" type="CanvasLayer"]
|
|
pause_mode = 2
|
|
layer = 100
|
|
script = ExtResource( 4 )
|
|
|
|
[node name="Border" type="NinePatchRect" parent="."]
|
|
margin_left = 64.0
|
|
margin_top = 69.0
|
|
margin_right = 192.0
|
|
margin_bottom = 123.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 = 72.0
|
|
margin_right = 189.0
|
|
margin_bottom = 120.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 = 56.0
|
|
margin_right = 192.0
|
|
margin_bottom = 70.0
|
|
theme = ExtResource( 5 )
|
|
text = "PAUSED!"
|
|
align = 1
|
|
|
|
[node name="Body" type="Label" parent="."]
|
|
pause_mode = 2
|
|
margin_left = 64.0
|
|
margin_top = 74.0
|
|
margin_right = 192.0
|
|
margin_bottom = 120.0
|
|
theme = ExtResource( 2 )
|
|
text = "RESUME
|
|
RESTART
|
|
SETTINGS
|
|
EXit level"
|
|
align = 1
|
|
|
|
[node name="Resume" type="TextureButton" parent="Body"]
|
|
pause_mode = 2
|
|
margin_left = 36.0
|
|
margin_top = 3.0
|
|
margin_right = 44.0
|
|
margin_bottom = 11.0
|
|
focus_neighbour_bottom = NodePath("../Restart")
|
|
texture_focused = ExtResource( 3 )
|
|
|
|
[node name="Restart" type="TextureButton" parent="Body"]
|
|
pause_mode = 2
|
|
margin_left = 32.0
|
|
margin_top = 13.0
|
|
margin_right = 40.0
|
|
margin_bottom = 21.0
|
|
focus_neighbour_top = NodePath("../Resume")
|
|
focus_neighbour_bottom = NodePath("../Settings")
|
|
texture_focused = ExtResource( 3 )
|
|
|
|
[node name="Settings" type="TextureButton" parent="Body"]
|
|
pause_mode = 2
|
|
margin_left = 29.0
|
|
margin_top = 23.0
|
|
margin_right = 37.0
|
|
margin_bottom = 31.0
|
|
focus_neighbour_top = NodePath("../Restart")
|
|
focus_neighbour_bottom = NodePath("../ExitLevel")
|
|
texture_focused = ExtResource( 3 )
|
|
|
|
[node name="ExitLevel" type="TextureButton" parent="Body"]
|
|
pause_mode = 2
|
|
margin_left = 22.0
|
|
margin_top = 33.0
|
|
margin_right = 30.0
|
|
margin_bottom = 41.0
|
|
focus_neighbour_top = NodePath("../Settings")
|
|
texture_focused = ExtResource( 3 )
|
|
|
|
[node name="OptionsScreen" parent="." instance=ExtResource( 7 )]
|
|
visible = false
|
|
|
|
[connection signal="pressed" from="Body/Resume" to="." method="_on_Resume_pressed"]
|
|
[connection signal="pressed" from="Body/Restart" to="." method="_on_Restart_pressed"]
|
|
[connection signal="pressed" from="Body/Settings" to="." method="_on_Settings_pressed"]
|
|
[connection signal="pressed" from="Body/ExitLevel" to="." method="_on_ExitLevel_pressed"]
|