-
Notifications
You must be signed in to change notification settings - Fork 1
/
Win.tscn
114 lines (97 loc) · 3.14 KB
/
Win.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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
[gd_scene load_steps=16 format=2]
[ext_resource path="res://Win.gd" type="Script" id=1]
[ext_resource path="res://Assets/fonts/corbelb.ttf" type="DynamicFontData" id=2]
[ext_resource path="res://Assets/fonts/MariaElisasHand.ttf" type="DynamicFontData" id=3]
[ext_resource path="res://Assets/Ayam Senang Idle.png" type="Texture" id=4]
[ext_resource path="res://Assets/Ayam Senang Gerak.png" type="Texture" id=5]
[sub_resource type="StyleBoxFlat" id=1]
bg_color = Color( 1, 0.470588, 0, 1 )
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 = 48
font_data = ExtResource( 2 )
[sub_resource type="StyleBoxFlat" id=3]
bg_color = Color( 0, 0.646973, 0.14658, 1 )
[sub_resource type="StyleBoxFlat" id=4]
bg_color = Color( 0, 0.869629, 0.197025, 1 )
[sub_resource type="StyleBoxFlat" id=5]
bg_color = Color( 0, 0.501961, 0.113725, 1 )
[sub_resource type="DynamicFont" id=6]
size = 28
font_data = ExtResource( 3 )
[sub_resource type="StyleBoxFlat" id=7]
bg_color = Color( 0.632813, 0, 0, 1 )
[sub_resource type="StyleBoxFlat" id=8]
bg_color = Color( 0.882813, 0, 0, 1 )
[sub_resource type="StyleBoxFlat" id=9]
bg_color = Color( 0.466667, 0, 0, 1 )
[sub_resource type="SpriteFrames" id=10]
animations = [ {
"frames": [ ExtResource( 4 ), ExtResource( 5 ) ],
"loop": true,
"name": "gerak",
"speed": 5.0
} ]
[node name="Win" type="Panel"]
pause_mode = 2
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -300.0
margin_top = -200.0
margin_right = 300.0
margin_bottom = 200.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 = 100.0
margin_top = 15.0
margin_right = -100.0
margin_bottom = -15.0
[node name="Title" type="Label" parent="VBoxContainer"]
margin_right = 400.0
margin_bottom = 181.0
size_flags_horizontal = 3
size_flags_vertical = 7
size_flags_stretch_ratio = 2.0
custom_fonts/font = SubResource( 2 )
text = "Win!"
align = 1
valign = 1
[node name="NextLevel" type="Button" parent="VBoxContainer"]
margin_top = 185.0
margin_right = 400.0
margin_bottom = 275.0
size_flags_horizontal = 3
size_flags_vertical = 3
custom_styles/hover = SubResource( 3 )
custom_styles/pressed = SubResource( 4 )
custom_styles/normal = SubResource( 5 )
custom_fonts/font = SubResource( 6 )
text = "Level Berikutnya"
[node name="Exit" type="Button" parent="VBoxContainer"]
margin_top = 279.0
margin_right = 400.0
margin_bottom = 370.0
size_flags_horizontal = 3
size_flags_vertical = 3
custom_styles/hover = SubResource( 7 )
custom_styles/pressed = SubResource( 8 )
custom_styles/normal = SubResource( 9 )
custom_fonts/font = SubResource( 6 )
text = "Keluar"
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
pause_mode = 2
position = Vector2( 0, 350 )
scale = Vector2( 0.4, 0.4 )
frames = SubResource( 10 )
animation = "gerak"
speed_scale = 0.5
[connection signal="pressed" from="VBoxContainer/NextLevel" to="." method="_on_NextLevel_pressed"]
[connection signal="pressed" from="VBoxContainer/Exit" to="." method="_on_Exit_pressed"]