forked from FearTheVenator/GameJam2020
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Menu Screen.tscn
84 lines (73 loc) · 2.71 KB
/
Menu Screen.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
[gd_scene load_steps=6 format=2]
[ext_resource path="res://Scripts/Menu Screen.gd" type="Script" id=1]
[ext_resource path="res://fonts/Pixelig Cursief.ttf" type="DynamicFontData" id=2]
[sub_resource type="DynamicFont" id=1]
font_data = ExtResource( 2 )
[sub_resource type="DynamicFont" id=2]
font_data = ExtResource( 2 )
[sub_resource type="DynamicFont" id=3]
font_data = ExtResource( 2 )
[node name="Menu Screen" type="Control"]
pause_mode = 2
visible = false
margin_left = -323.234
margin_top = 2.267
margin_right = -283.234
margin_bottom = 42.267
script = ExtResource( 1 )
[node name="Panel" type="Panel" parent="."]
visible = false
margin_left = 334.532
margin_top = -123.34
margin_right = 374.532
margin_bottom = -83.3401
[node name="ColorRect" type="ColorRect" parent="Panel"]
margin_left = -57.1023
margin_top = -43.6599
margin_right = 110.898
margin_bottom = 48.0
color = Color( 0.117647, 0.117647, 0.117647, 1 )
[node name="VBoxContainer" type="VBoxContainer" parent="Panel/ColorRect"]
margin_left = 6.0
margin_top = 7.0
margin_right = 174.0
margin_bottom = 186.47
rect_scale = Vector2( 0.93, 1.5 )
[node name="resume_button" type="Button" parent="Panel/ColorRect/VBoxContainer"]
visible = false
margin_right = 168.0
margin_bottom = 23.0
focus_mode = 0
custom_fonts/font = SubResource( 1 )
custom_colors/font_color = Color( 1, 1, 1, 1 )
custom_colors/font_color_hover = Color( 0.843137, 0.4, 0.4, 1 )
custom_colors/font_color_pressed = Color( 0.235294, 0.235294, 0.235294, 1 )
enabled_focus_mode = 0
text = "RESUME"
flat = true
[node name="restart_button" type="Button" parent="Panel/ColorRect/VBoxContainer"]
margin_right = 168.0
margin_bottom = 23.0
focus_mode = 0
custom_fonts/font = SubResource( 2 )
custom_colors/font_color = Color( 1, 1, 1, 1 )
custom_colors/font_color_hover = Color( 0.717647, 0.360784, 0.360784, 1 )
custom_colors/font_color_pressed = Color( 0.290196, 0.290196, 0.290196, 1 )
enabled_focus_mode = 0
text = "RESTART"
flat = true
[node name="quit_button" type="Button" parent="Panel/ColorRect/VBoxContainer"]
margin_top = 27.0
margin_right = 168.0
margin_bottom = 50.0
focus_mode = 0
custom_fonts/font = SubResource( 3 )
custom_colors/font_color = Color( 1, 1, 1, 1 )
custom_colors/font_color_hover = Color( 0.815686, 0.380392, 0.380392, 1 )
custom_colors/font_color_pressed = Color( 0.356863, 0.356863, 0.356863, 1 )
enabled_focus_mode = 0
text = "QUIT"
flat = true
[connection signal="pressed" from="Panel/ColorRect/VBoxContainer/resume_button" to="." method="_on_resume_button_pressed"]
[connection signal="pressed" from="Panel/ColorRect/VBoxContainer/restart_button" to="." method="_on_restart_button_pressed"]
[connection signal="pressed" from="Panel/ColorRect/VBoxContainer/quit_button" to="." method="_on_quit_button_pressed"]