-
Notifications
You must be signed in to change notification settings - Fork 1
/
Shop.tscn
192 lines (167 loc) · 4.81 KB
/
Shop.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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
[gd_scene load_steps=11 format=2]
[ext_resource path="res://Shop.gd" type="Script" id=1]
[ext_resource path="res://Assets/SHOP UI.png" type="Texture" id=2]
[ext_resource path="res://Assets/bibit.png" type="Texture" id=3]
[ext_resource path="res://Assets/pupuk.png" type="Texture" id=4]
[ext_resource path="res://Assets/Pestisida.png" type="Texture" id=5]
[ext_resource path="res://Assets/CLOSE.png" type="Texture" id=6]
[sub_resource type="DynamicFontData" id=1]
font_path = "res://Assets/zorque.ttf"
[sub_resource type="DynamicFont" id=2]
size = 72
outline_color = Color( 0, 0, 0, 1 )
font_data = SubResource( 1 )
[sub_resource type="DynamicFontData" id=3]
font_path = "res://Assets/zorque.ttf"
[sub_resource type="DynamicFont" id=4]
size = 30
font_data = SubResource( 3 )
[node name="Shop" type="Control"]
margin_right = 40.0
margin_bottom = 40.0
script = ExtResource( 1 )
[node name="Sprite" type="Sprite" parent="."]
position = Vector2( 682.906, 383.625 )
texture = ExtResource( 2 )
[node name="Label" type="Label" parent="Sprite"]
margin_left = 7.95032
margin_top = -327.805
margin_right = 8.95032
margin_bottom = -150.805
custom_fonts/font = SubResource( 2 )
text = "SHOP"
align = 1
autowrap = true
[node name="Label2" type="Label" parent="Sprite"]
margin_left = -410.0
margin_top = -167.425
margin_right = -409.0
margin_bottom = 9.575
custom_fonts/font = SubResource( 2 )
text = "bibit"
align = 1
autowrap = true
[node name="Label5" type="Label" parent="Sprite"]
margin_left = -410.0
margin_top = 230.0
margin_right = -409.0
margin_bottom = 407.0
custom_fonts/font = SubResource( 2 )
text = "$50"
align = 1
autowrap = true
[node name="Label3" type="Label" parent="Sprite"]
margin_top = -167.425
margin_right = 1.0
margin_bottom = 9.575
custom_fonts/font = SubResource( 2 )
text = "pupuk"
align = 1
autowrap = true
[node name="Label6" type="Label" parent="Sprite"]
margin_top = 230.0
margin_right = 1.0
margin_bottom = 407.0
custom_fonts/font = SubResource( 2 )
text = "$30
"
align = 1
autowrap = true
[node name="Label4" type="Label" parent="Sprite"]
margin_left = 410.0
margin_top = -167.425
margin_right = 411.0
margin_bottom = 9.575
custom_fonts/font = SubResource( 2 )
text = "pestisida"
align = 1
autowrap = true
[node name="Label7" type="Label" parent="Sprite"]
margin_left = 410.0
margin_top = 230.0
margin_right = 411.0
margin_bottom = 407.0
custom_fonts/font = SubResource( 2 )
text = "$20
"
align = 1
autowrap = true
[node name="bibit" type="Button" parent="Sprite"]
editor/display_folded = true
margin_left = -510.0
margin_top = -60.0
margin_right = -290.0
margin_bottom = 180.0
rect_min_size = Vector2( 220, 244 )
focus_mode = 0
flat = true
[node name="Sprite" type="Sprite" parent="Sprite/bibit"]
position = Vector2( 113, 123 )
texture = ExtResource( 3 )
[node name="stock" type="Label" parent="Sprite/bibit"]
margin_left = 175.958
margin_top = 189.4
margin_right = 215.958
margin_bottom = 226.4
custom_fonts/font = SubResource( 4 )
custom_colors/font_color = Color( 0, 0, 0, 1 )
text = "99"
align = 1
[node name="pupuk" type="Button" parent="Sprite"]
editor/display_folded = true
margin_left = -110.0
margin_top = -60.0
margin_right = 110.0
margin_bottom = 184.0
rect_min_size = Vector2( 220, 244 )
focus_mode = 0
flat = true
[node name="Sprite" type="Sprite" parent="Sprite/pupuk"]
position = Vector2( 113, 123 )
texture = ExtResource( 4 )
[node name="stock" type="Label" parent="Sprite/pupuk"]
margin_left = 175.958
margin_top = 189.4
margin_right = 215.958
margin_bottom = 226.4
custom_fonts/font = SubResource( 4 )
custom_colors/font_color = Color( 0, 0, 0, 1 )
text = "99"
align = 1
[node name="pestisida" type="Button" parent="Sprite"]
editor/display_folded = true
margin_left = 310.0
margin_top = -60.0
margin_right = 530.0
margin_bottom = 184.0
rect_min_size = Vector2( 220, 244 )
focus_mode = 0
flat = true
[node name="Sprite" type="Sprite" parent="Sprite/pestisida"]
position = Vector2( 113, 123 )
texture = ExtResource( 5 )
[node name="stock" type="Label" parent="Sprite/pestisida"]
margin_left = 175.958
margin_top = 189.4
margin_right = 215.958
margin_bottom = 226.4
custom_fonts/font = SubResource( 4 )
custom_colors/font_color = Color( 0, 0, 0, 1 )
text = "99"
align = 1
[node name="exit" type="Button" parent="Sprite"]
editor/display_folded = true
margin_left = 601.083
margin_top = -265.66
margin_right = 677.083
margin_bottom = -188.66
focus_mode = 0
flat = true
[node name="Sprite" type="Sprite" parent="Sprite/exit"]
position = Vector2( 37.3149, 38.1304 )
scale = Vector2( 0.3, 0.3 )
texture = ExtResource( 6 )
[connection signal="pressed" from="Sprite/bibit" to="." method="_on_bibit_pressed"]
[connection signal="pressed" from="Sprite/pupuk" to="." method="_on_pupuk_pressed"]
[connection signal="pressed" from="Sprite/pestisida" to="." method="_on_pestisida_pressed"]
[connection signal="pressed" from="Sprite/exit" to="." method="_on_Button_pressed"]