blob: 56f5c5574f7a94efa60aed2ada01a289996b2d7d (
plain) (
blame)
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
85
86
87
88
89
90
91
92
93
94
95
96
|
[gd_scene load_steps=7 format=2]
[ext_resource path="res://scenes/Game.gd" type="Script" id=1]
[ext_resource path="res://scenes/levels/level1/level1.tscn" type="PackedScene" id=2]
[ext_resource path="res://assets/theme.tres" type="Theme" id=3]
[ext_resource path="res://assets/fonts/format.tres" type="DynamicFont" id=4]
[ext_resource path="res://scenes/objects/Scoreboard.tscn" type="PackedScene" id=5]
[ext_resource path="res://assets/sounds/bgm.mp3" type="AudioStream" id=6]
[node name="Game" type="Spatial"]
script = ExtResource( 1 )
[node name="Scoreboard" parent="." instance=ExtResource( 5 )]
pause_mode = 2
visible = false
margin_right = -0.319946
margin_bottom = 0.47998
[node name="Evaluation" type="Control" parent="."]
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
[node name="EvaluationLabel" type="Label" parent="Evaluation"]
anchor_left = 0.3
anchor_top = 0.4
anchor_right = 0.7
anchor_bottom = 0.5
theme = ExtResource( 3 )
text = "Finished
"
align = 1
valign = 1
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 6 )
autoplay = true
[node name="Level1" parent="." instance=ExtResource( 2 )]
[node name="PausePopup" type="Control" parent="."]
pause_mode = 2
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
margin_right = 40.0
margin_bottom = 40.0
[node name="Panel" type="Panel" parent="PausePopup"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 300.0
margin_top = 200.0
margin_right = -300.0
margin_bottom = -200.0
theme = ExtResource( 3 )
[node name="Label" type="Label" parent="PausePopup/Panel"]
anchor_right = 1.0
anchor_bottom = 0.3
theme = ExtResource( 3 )
custom_fonts/font = ExtResource( 4 )
text = "Game is Paused"
align = 1
valign = 1
[node name="VBoxContainer" type="VBoxContainer" parent="PausePopup/Panel"]
anchor_top = 0.3
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 500.0
margin_right = -500.0
custom_constants/separation = 20
alignment = 1
[node name="ResumeButton" type="Button" parent="PausePopup/Panel/VBoxContainer"]
margin_top = 110.0
margin_right = 360.0
margin_bottom = 191.0
text = "Resume"
[node name="MainMenuButton" type="Button" parent="PausePopup/Panel/VBoxContainer"]
margin_top = 211.0
margin_right = 360.0
margin_bottom = 292.0
text = "Main Menu"
[node name="QuitButton" type="Button" parent="PausePopup/Panel/VBoxContainer"]
margin_top = 312.0
margin_right = 360.0
margin_bottom = 393.0
text = "Quit"
[connection signal="pressed" from="PausePopup/Panel/VBoxContainer/ResumeButton" to="." method="_on_ResumeButton_pressed"]
[connection signal="pressed" from="PausePopup/Panel/VBoxContainer/MainMenuButton" to="." method="_on_MainMenuButton_pressed"]
[connection signal="pressed" from="PausePopup/Panel/VBoxContainer/QuitButton" to="." method="_on_QuitButton_pressed"]
|