-
Notifications
You must be signed in to change notification settings - Fork 1
/
GameOver.tscn
97 lines (84 loc) · 2.73 KB
/
GameOver.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
85
86
87
88
89
90
91
92
93
94
95
96
97
[gd_scene load_steps=7 format=2]
[ext_resource path="res://GameOver.gd" type="Script" id=1]
[ext_resource path="res://Assets/fonts/MariaElisasHand.ttf" type="DynamicFontData" id=2]
[ext_resource path="res://Assets/Ayam Mati.png" type="Texture" id=3]
[sub_resource type="StyleBoxFlat" id=1]
bg_color = Color( 0.733333, 0.254902, 0.254902, 1 )
border_width_left = 10
border_width_top = 10
border_width_right = 10
border_width_bottom = 10
border_color = Color( 0.396078, 0.309804, 0.309804, 1 )
border_blend = true
corner_radius_top_left = 15
corner_radius_top_right = 15
corner_radius_bottom_right = 15
corner_radius_bottom_left = 15
[sub_resource type="DynamicFont" id=2]
size = 54
font_data = ExtResource( 2 )
[sub_resource type="DynamicFont" id=3]
size = 36
font_data = ExtResource( 2 )
[node name="GameOver" type="Panel"]
pause_mode = 2
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -248.947
margin_top = -250.0
margin_right = 251.053
margin_bottom = 250.0
custom_styles/panel = SubResource( 1 )
script = ExtResource( 1 )
[node name="VBoxContainer" type="VBoxContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 25.0
margin_top = 25.0
margin_right = -25.0
margin_bottom = -25.0
[node name="Title" type="Label" parent="VBoxContainer"]
margin_right = 450.0
margin_bottom = 223.0
size_flags_vertical = 7
custom_fonts/font = SubResource( 2 )
text = "GAME OVER"
align = 1
valign = 1
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
margin_top = 227.0
margin_right = 450.0
margin_bottom = 450.0
size_flags_vertical = 3
[node name="VSplitContainer" type="VSplitContainer" parent="VBoxContainer/HBoxContainer"]
margin_right = 148.0
margin_bottom = 223.0
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/HBoxContainer"]
margin_left = 152.0
margin_right = 450.0
margin_bottom = 223.0
size_flags_horizontal = 3
size_flags_stretch_ratio = 2.0
[node name="Play" type="Button" parent="VBoxContainer/HBoxContainer/VBoxContainer"]
margin_right = 298.0
margin_bottom = 109.0
size_flags_vertical = 3
custom_fonts/font = SubResource( 3 )
text = "Main Lagi"
[node name="Exit" type="Button" parent="VBoxContainer/HBoxContainer/VBoxContainer"]
margin_top = 113.0
margin_right = 298.0
margin_bottom = 223.0
size_flags_vertical = 3
custom_fonts/font = SubResource( 3 )
text = "Keluar"
[node name="Sprite" type="Sprite" parent="."]
position = Vector2( 0, 400 )
scale = Vector2( 0.5, 0.5 )
texture = ExtResource( 3 )
[connection signal="pressed" from="VBoxContainer/HBoxContainer/VBoxContainer/Play" to="." method="_on_Play_pressed"]
[connection signal="pressed" from="VBoxContainer/HBoxContainer/VBoxContainer/Exit" to="." method="_on_Exit_pressed"]