-
Notifications
You must be signed in to change notification settings - Fork 0
/
game_over.tscn
82 lines (68 loc) · 1.98 KB
/
game_over.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
[gd_scene load_steps=5 format=2]
[ext_resource path="res://others/game_font.tres" type="DynamicFont" id=1]
[ext_resource path="res://src/game_over.gd" type="Script" id=2]
[ext_resource path="res://dummy_rocket_horizontal.tscn" type="PackedScene" id=3]
[ext_resource path="res://sounds/Game_Over.ogg" type="AudioStream" id=4]
[node name="Node" type="Node"]
script = ExtResource( 2 )
[node name="GAME_OVER" type="Label" parent="."]
anchor_left = 0.5
anchor_right = 0.5
margin_left = -34.8345
margin_top = 20.3182
margin_right = 77.1655
margin_bottom = 41.3182
custom_fonts/font = ExtResource( 1 )
text = "GAME OVER"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="play_again" type="Button" parent="."]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -54.4737
margin_top = -55.1831
margin_right = 53.5263
margin_bottom = -25.175
custom_fonts/font = ExtResource( 1 )
text = "play again"
flat = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="quit" type="Button" parent="."]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -25.1657
margin_top = -15.7293
margin_right = 21.8343
margin_bottom = 11.2708
custom_fonts/font = ExtResource( 1 )
text = "quit"
flat = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="main_menu" type="Button" parent="."]
margin_left = 18.1927
margin_top = 148.492
margin_right = 124.192
margin_bottom = 175.492
custom_fonts/font = ExtResource( 1 )
text = "main menu"
flat = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="StaticBody2D" parent="." instance=ExtResource( 3 )]
position = Vector2( 126.038, 223.769 )
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 4 )
autoplay = true
[connection signal="pressed" from="play_again" to="." method="_on_play_again_pressed"]
[connection signal="pressed" from="quit" to="." method="_on_quit_pressed"]
[connection signal="pressed" from="main_menu" to="." method="_on_main_menu_pressed"]