-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpause_menu.tscn
50 lines (40 loc) · 1.57 KB
/
pause_menu.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
[gd_scene load_steps=4 format=3 uid="uid://cbr0ncccwl87t"]
[ext_resource type="Script" path="res://pause_menu.gd" id="1_xmd7n"]
[ext_resource type="Shader" path="res://pause_menu.gdshader" id="2_276pq"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_jbxlq"]
shader = ExtResource("2_276pq")
shader_parameter/amount = 3.0
[node name="PauseMenu" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_xmd7n")
[node name="ColorRect" type="ColorRect" parent="."]
material = SubResource("ShaderMaterial_jbxlq")
layout_mode = 0
offset_left = -361.0
offset_top = -304.0
offset_right = -321.0
offset_bottom = -264.0
scale = Vector2(20, 20)
[node name="MarginContainer" type="MarginContainer" parent="."]
layout_mode = 0
offset_right = 40.0
offset_bottom = 40.0
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
layout_mode = 2
[node name="Resume" type="Button" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
text = "Resume"
[node name="Controls" type="Button" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
text = "Controls"
[node name="Quit" type="Button" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
text = "Exit"
[connection signal="pressed" from="MarginContainer/VBoxContainer/Resume" to="." method="_on_resume_pressed"]
[connection signal="pressed" from="MarginContainer/VBoxContainer/Controls" to="." method="_on_controls_pressed"]
[connection signal="pressed" from="MarginContainer/VBoxContainer/Quit" to="." method="_on_quit_pressed"]