2021-10-05 19:55:34 +00:00
|
|
|
[gd_scene load_steps=21 format=2]
|
2021-09-28 15:55:03 +00:00
|
|
|
|
|
|
|
[ext_resource path="res://Menu/Buttons/RestartButton.tscn" type="PackedScene" id=1]
|
|
|
|
[ext_resource path="res://Menu/Icons/Play/Play2.png" type="Texture" id=2]
|
|
|
|
[ext_resource path="res://Menu/Icons/Home/homeIcon1.png" type="Texture" id=3]
|
|
|
|
[ext_resource path="res://Menu/Icons/Home/homeIcon2.png" type="Texture" id=4]
|
|
|
|
[ext_resource path="res://Menu/Icons/Home/homeIcon3.png" type="Texture" id=5]
|
|
|
|
[ext_resource path="res://Menu/Buttons/LevelSelectIconButton.tscn" type="PackedScene" id=6]
|
|
|
|
[ext_resource path="res://Menu/Pause.gd" type="Script" id=7]
|
|
|
|
[ext_resource path="res://Menu/Icons/Play/Play1.png" type="Texture" id=8]
|
|
|
|
[ext_resource path="res://Menu/Icons/Play/Play3.png" type="Texture" id=9]
|
|
|
|
[ext_resource path="res://Menu/Buttons/AudioSliders/SFXVolume2.png" type="Texture" id=10]
|
|
|
|
[ext_resource path="res://Menu/Buttons/AudioSliders/SFXVolume1.png" type="Texture" id=11]
|
|
|
|
[ext_resource path="res://Menu/Buttons/AudioSliders/VolumeSlider.tscn" type="PackedScene" id=12]
|
|
|
|
[ext_resource path="res://Menu/Buttons/AudioSliders/MusicVolume1.png" type="Texture" id=13]
|
|
|
|
[ext_resource path="res://Menu/Buttons/AudioSliders/MusicVolume2.png" type="Texture" id=14]
|
|
|
|
[ext_resource path="res://Menu/Theme.tres" type="Theme" id=15]
|
|
|
|
[ext_resource path="res://Menu/Buttons/Fullscreen/FullscreenButton.tscn" type="PackedScene" id=16]
|
2021-09-29 13:07:06 +00:00
|
|
|
[ext_resource path="res://Menu/Buttons/ButtonSFX.tscn" type="PackedScene" id=17]
|
2021-10-05 19:55:34 +00:00
|
|
|
[ext_resource path="res://Menu/Buttons/CameraFXButton.tscn" type="PackedScene" id=18]
|
|
|
|
|
|
|
|
[sub_resource type="InputEventAction" id=1]
|
|
|
|
action = "ui_accept"
|
|
|
|
|
|
|
|
[sub_resource type="ShortCut" id=2]
|
|
|
|
shortcut = SubResource( 1 )
|
2021-09-28 15:55:03 +00:00
|
|
|
|
|
|
|
[node name="Pause" type="CanvasLayer"]
|
|
|
|
pause_mode = 2
|
|
|
|
|
|
|
|
[node name="Pause" type="CenterContainer" parent="."]
|
|
|
|
visible = false
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
theme = ExtResource( 15 )
|
|
|
|
script = ExtResource( 7 )
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="PanelContainer" type="PanelContainer" parent="Pause"]
|
|
|
|
margin_left = 190.0
|
|
|
|
margin_top = 106.0
|
|
|
|
margin_right = 194.0
|
|
|
|
margin_bottom = 110.0
|
|
|
|
theme = ExtResource( 15 )
|
|
|
|
|
|
|
|
[node name="HBoxContainer" type="VBoxContainer" parent="Pause/PanelContainer"]
|
|
|
|
margin_left = 2.0
|
|
|
|
margin_top = 2.0
|
2021-10-05 19:55:34 +00:00
|
|
|
margin_right = 155.0
|
|
|
|
margin_bottom = 180.0
|
|
|
|
alignment = 1
|
2021-09-28 15:55:03 +00:00
|
|
|
|
2021-10-05 19:55:34 +00:00
|
|
|
[node name="Label" type="Label" parent="Pause/PanelContainer/HBoxContainer"]
|
|
|
|
margin_right = 153.0
|
|
|
|
margin_bottom = 18.0
|
|
|
|
text = "paused..."
|
|
|
|
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="Pause/PanelContainer/HBoxContainer"]
|
|
|
|
margin_top = 22.0
|
|
|
|
margin_right = 153.0
|
|
|
|
margin_bottom = 62.0
|
|
|
|
alignment = 1
|
2021-09-28 15:55:03 +00:00
|
|
|
|
2021-10-05 19:55:34 +00:00
|
|
|
[node name="CameraFXButton" parent="Pause/PanelContainer/HBoxContainer/HBoxContainer" instance=ExtResource( 18 )]
|
|
|
|
margin_left = 0.0
|
|
|
|
margin_right = 72.0
|
|
|
|
|
|
|
|
[node name="FullscreenButton" parent="Pause/PanelContainer/HBoxContainer/HBoxContainer" instance=ExtResource( 16 )]
|
2021-09-28 15:55:03 +00:00
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
2021-10-05 19:55:34 +00:00
|
|
|
margin_left = 76.0
|
|
|
|
margin_right = 153.0
|
|
|
|
margin_bottom = 40.0
|
|
|
|
rect_min_size = Vector2( 77, 40 )
|
|
|
|
|
|
|
|
[node name="SFX Volume" parent="Pause/PanelContainer/HBoxContainer" instance=ExtResource( 12 )]
|
|
|
|
margin_top = 66.0
|
|
|
|
margin_right = 153.0
|
|
|
|
margin_bottom = 98.0
|
|
|
|
custom_icons/grabber_highlight = ExtResource( 10 )
|
|
|
|
custom_icons/grabber = ExtResource( 11 )
|
|
|
|
bus_channel = "SFX"
|
|
|
|
|
|
|
|
[node name="Music Volume" parent="Pause/PanelContainer/HBoxContainer" instance=ExtResource( 12 )]
|
|
|
|
margin_top = 102.0
|
|
|
|
margin_right = 153.0
|
|
|
|
margin_bottom = 134.0
|
|
|
|
custom_icons/grabber_highlight = ExtResource( 14 )
|
|
|
|
custom_icons/grabber = ExtResource( 13 )
|
|
|
|
bus_channel = "Music"
|
|
|
|
|
|
|
|
[node name="VBoxContainer" type="HBoxContainer" parent="Pause/PanelContainer/HBoxContainer"]
|
|
|
|
margin_top = 138.0
|
|
|
|
margin_right = 153.0
|
|
|
|
margin_bottom = 178.0
|
|
|
|
alignment = 1
|
2021-09-28 15:55:03 +00:00
|
|
|
|
2021-10-01 14:23:48 +00:00
|
|
|
[node name="RestartButton" parent="Pause/PanelContainer/HBoxContainer/VBoxContainer" instance=ExtResource( 1 )]
|
2021-10-05 19:55:34 +00:00
|
|
|
margin_right = 56.0
|
|
|
|
margin_bottom = 40.0
|
|
|
|
size_flags_horizontal = 7
|
|
|
|
size_flags_vertical = 3
|
2021-09-28 15:55:03 +00:00
|
|
|
|
2021-10-01 14:23:48 +00:00
|
|
|
[node name="LevelSelectIconButton" parent="Pause/PanelContainer/HBoxContainer/VBoxContainer" instance=ExtResource( 6 )]
|
2021-10-05 19:55:34 +00:00
|
|
|
margin_left = 60.0
|
|
|
|
margin_right = 117.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
2021-10-01 14:23:48 +00:00
|
|
|
texture_normal = ExtResource( 3 )
|
|
|
|
texture_pressed = ExtResource( 5 )
|
|
|
|
texture_hover = ExtResource( 4 )
|
2021-09-28 15:55:03 +00:00
|
|
|
|
|
|
|
[node name="Resume" type="TextureButton" parent="Pause/PanelContainer/HBoxContainer/VBoxContainer"]
|
2021-10-05 19:55:34 +00:00
|
|
|
margin_left = 121.0
|
|
|
|
margin_right = 153.0
|
|
|
|
margin_bottom = 40.0
|
|
|
|
rect_min_size = Vector2( 0, 40 )
|
|
|
|
shortcut = SubResource( 2 )
|
2021-09-28 15:55:03 +00:00
|
|
|
texture_normal = ExtResource( 8 )
|
|
|
|
texture_pressed = ExtResource( 9 )
|
|
|
|
texture_hover = ExtResource( 2 )
|
|
|
|
|
2021-09-29 13:07:06 +00:00
|
|
|
[node name="ButtonSFX" parent="Pause/PanelContainer/HBoxContainer/VBoxContainer/Resume" instance=ExtResource( 17 )]
|
|
|
|
|
|
|
|
[connection signal="focus_entered" from="Pause/PanelContainer/HBoxContainer/VBoxContainer/Resume" to="Pause/PanelContainer/HBoxContainer/VBoxContainer/Resume/ButtonSFX" method="on_hover"]
|
|
|
|
[connection signal="mouse_entered" from="Pause/PanelContainer/HBoxContainer/VBoxContainer/Resume" to="Pause/PanelContainer/HBoxContainer/VBoxContainer/Resume/ButtonSFX" method="on_hover"]
|
2021-09-28 15:55:03 +00:00
|
|
|
[connection signal="pressed" from="Pause/PanelContainer/HBoxContainer/VBoxContainer/Resume" to="Pause" method="_on_pause_button_pressed"]
|
2021-09-29 13:07:06 +00:00
|
|
|
[connection signal="pressed" from="Pause/PanelContainer/HBoxContainer/VBoxContainer/Resume" to="Pause/PanelContainer/HBoxContainer/VBoxContainer/Resume/ButtonSFX" method="on_select"]
|