1
- [gd_scene load_steps =7 format =3 uid ="uid://cy8tgptglfnn6" ]
1
+ [gd_scene load_steps =14 format =3 uid ="uid://cy8tgptglfnn6" ]
2
2
3
3
[ext_resource type ="Texture2D" uid ="uid://bynldf85n8w1h" path ="res://assets/sprite/BayanganBrute.png" id ="1_8abw4" ]
4
4
[ext_resource type ="Script" path ="res://scripts/DeadBody.gd" id ="1_g5qdl" ]
5
5
[ext_resource type ="Texture2D" uid ="uid://b34gb0nbpehp0" path ="res://assets/animation/brute_dead.png" id ="1_mxcl0" ]
6
6
[ext_resource type ="Texture2D" uid ="uid://bmi3liujnbyx6" path ="res://assets/sprite/jamur/BenihRegula.png" id ="2_uq3kk" ]
7
7
[ext_resource type ="Texture2D" uid ="uid://bjluwqg3po1dx" path ="res://assets/sprite/jamur/Regular Mushroom.png" id ="3_inxlu" ]
8
+ [ext_resource type ="Texture2D" uid ="uid://5hxxvpwd1vxp" path ="res://assets/sprite/jamur/Doom mushroom Seed.png" id ="5_ow6my" ]
9
+ [ext_resource type ="Texture2D" uid ="uid://cxdq2ol40ibsd" path ="res://assets/Jamur/Seed/Benih Crown.png" id ="6_e7c00" ]
10
+ [ext_resource type ="Texture2D" uid ="uid://brfk03li5k3ei" path ="res://assets/sprite/jamur/Rotten Spice seed.png" id ="7_tx40b" ]
11
+ [ext_resource type ="Texture2D" uid ="uid://deal1y30457ae" path ="res://assets/sprite/jamur/Doom mushroom.png" id ="9_anhse" ]
12
+ [ext_resource type ="Texture2D" uid ="uid://c1jngt7srsllt" path ="res://assets/Jamur/Mushroom/crown mushroom.png" id ="10_cxmht" ]
13
+ [ext_resource type ="Texture2D" uid ="uid://tvit0651yvdx" path ="res://assets/sprite/jamur/Rotten mushroom.png" id ="11_digen" ]
8
14
9
15
[sub_resource type ="CapsuleShape2D" id ="CapsuleShape2D_43xo7" ]
10
16
radius = 5.0
11
17
height = 22.0
12
18
19
+ [sub_resource type ="RectangleShape2D" id ="RectangleShape2D_8miho" ]
20
+ size = Vector2 (49 , 25 )
21
+
13
22
[node name ="DeadBrute" type ="StaticBody2D" ]
14
23
z_index = 1
15
24
script = ExtResource ("1_g5qdl" )
@@ -32,35 +41,178 @@ shape = SubResource("CapsuleShape2D_43xo7")
32
41
[node name ="Benih" type ="Node2D" parent ="." ]
33
42
visible = false
34
43
35
- [node name ="Sprite2D" type ="Sprite2D" parent ="Benih" ]
44
+ [node name ="0" type ="Node2D" parent ="Benih" ]
45
+ visible = false
46
+
47
+ [node name ="Sprite2D" type ="Sprite2D" parent ="Benih/0" ]
36
48
position = Vector2 (-12 , 1 )
37
49
scale = Vector2 (0.3 , 0.3 )
38
50
texture = ExtResource ("2_uq3kk" )
39
51
40
- [node name ="Sprite2D2" type ="Sprite2D" parent ="Benih" ]
52
+ [node name ="Sprite2D2" type ="Sprite2D" parent ="Benih/0 " ]
41
53
position = Vector2 (-8 , 10 )
42
54
scale = Vector2 (0.3 , 0.3 )
43
55
texture = ExtResource ("2_uq3kk" )
44
56
45
- [node name ="Sprite2D3" type ="Sprite2D" parent ="Benih" ]
57
+ [node name ="Sprite2D3" type ="Sprite2D" parent ="Benih/0 " ]
46
58
position = Vector2 (0 , 3 )
47
59
scale = Vector2 (0.3 , 0.3 )
48
60
texture = ExtResource ("2_uq3kk" )
49
61
62
+ [node name ="1" type ="Node2D" parent ="Benih" ]
63
+ visible = false
64
+
65
+ [node name ="Sprite2D" type ="Sprite2D" parent ="Benih/1" ]
66
+ position = Vector2 (-12 , 1 )
67
+ scale = Vector2 (0.3 , 0.3 )
68
+ texture = ExtResource ("5_ow6my" )
69
+
70
+ [node name ="Sprite2D2" type ="Sprite2D" parent ="Benih/1" ]
71
+ position = Vector2 (-8 , 10 )
72
+ scale = Vector2 (0.3 , 0.3 )
73
+ texture = ExtResource ("5_ow6my" )
74
+
75
+ [node name ="Sprite2D3" type ="Sprite2D" parent ="Benih/1" ]
76
+ position = Vector2 (0 , 3 )
77
+ scale = Vector2 (0.3 , 0.3 )
78
+ texture = ExtResource ("5_ow6my" )
79
+
80
+ [node name ="2" type ="Node2D" parent ="Benih" ]
81
+ visible = false
82
+
83
+ [node name ="Sprite2D" type ="Sprite2D" parent ="Benih/2" ]
84
+ position = Vector2 (-12 , 1 )
85
+ scale = Vector2 (0.3 , 0.3 )
86
+ texture = ExtResource ("6_e7c00" )
87
+
88
+ [node name ="Sprite2D2" type ="Sprite2D" parent ="Benih/2" ]
89
+ position = Vector2 (-8 , 10 )
90
+ scale = Vector2 (0.3 , 0.3 )
91
+ texture = ExtResource ("6_e7c00" )
92
+
93
+ [node name ="Sprite2D3" type ="Sprite2D" parent ="Benih/2" ]
94
+ position = Vector2 (0 , 3 )
95
+ scale = Vector2 (0.3 , 0.3 )
96
+ texture = ExtResource ("6_e7c00" )
97
+
98
+ [node name ="3" type ="Node2D" parent ="Benih" ]
99
+ visible = false
100
+
101
+ [node name ="Sprite2D" type ="Sprite2D" parent ="Benih/3" ]
102
+ position = Vector2 (-12 , 1 )
103
+ scale = Vector2 (0.3 , 0.3 )
104
+ texture = ExtResource ("7_tx40b" )
105
+
106
+ [node name ="Sprite2D2" type ="Sprite2D" parent ="Benih/3" ]
107
+ position = Vector2 (-8 , 10 )
108
+ scale = Vector2 (0.3 , 0.3 )
109
+ texture = ExtResource ("7_tx40b" )
110
+
111
+ [node name ="Sprite2D3" type ="Sprite2D" parent ="Benih/3" ]
112
+ position = Vector2 (0 , 3 )
113
+ scale = Vector2 (0.3 , 0.3 )
114
+ texture = ExtResource ("7_tx40b" )
115
+
50
116
[node name ="Jamur" type ="Node2D" parent ="." ]
51
117
visible = false
52
118
53
- [node name ="Sprite2D" type ="Sprite2D" parent ="Jamur" ]
119
+ [node name ="0" type ="Node2D" parent ="Jamur" ]
120
+ visible = false
121
+
122
+ [node name ="Sprite2D" type ="Sprite2D" parent ="Jamur/0" ]
54
123
position = Vector2 (-12 , 0 )
55
124
scale = Vector2 (0.5 , 0.5 )
56
125
texture = ExtResource ("3_inxlu" )
57
126
58
- [node name ="Sprite2D2" type ="Sprite2D" parent ="Jamur" ]
127
+ [node name ="Sprite2D2" type ="Sprite2D" parent ="Jamur/0 " ]
59
128
position = Vector2 (0 , 2 )
60
129
scale = Vector2 (0.5 , 0.5 )
61
130
texture = ExtResource ("3_inxlu" )
62
131
63
- [node name ="Sprite2D3" type ="Sprite2D" parent ="Jamur" ]
132
+ [node name ="Sprite2D3" type ="Sprite2D" parent ="Jamur/0 " ]
64
133
position = Vector2 (-8 , 9 )
65
134
scale = Vector2 (0.5 , 0.5 )
66
135
texture = ExtResource ("3_inxlu" )
136
+
137
+ [node name ="1" type ="Node2D" parent ="Jamur" ]
138
+ visible = false
139
+
140
+ [node name ="Sprite2D" type ="Sprite2D" parent ="Jamur/1" ]
141
+ position = Vector2 (-12 , 0 )
142
+ scale = Vector2 (0.5 , 0.5 )
143
+ texture = ExtResource ("9_anhse" )
144
+
145
+ [node name ="Sprite2D2" type ="Sprite2D" parent ="Jamur/1" ]
146
+ position = Vector2 (0 , 2 )
147
+ scale = Vector2 (0.5 , 0.5 )
148
+ texture = ExtResource ("9_anhse" )
149
+
150
+ [node name ="Sprite2D3" type ="Sprite2D" parent ="Jamur/1" ]
151
+ position = Vector2 (-8 , 9 )
152
+ scale = Vector2 (0.5 , 0.5 )
153
+ texture = ExtResource ("9_anhse" )
154
+
155
+ [node name ="2" type ="Node2D" parent ="Jamur" ]
156
+ visible = false
157
+
158
+ [node name ="Sprite2D" type ="Sprite2D" parent ="Jamur/2" ]
159
+ position = Vector2 (-12 , 0 )
160
+ scale = Vector2 (0.5 , 0.5 )
161
+ texture = ExtResource ("10_cxmht" )
162
+
163
+ [node name ="Sprite2D2" type ="Sprite2D" parent ="Jamur/2" ]
164
+ position = Vector2 (0 , 2 )
165
+ scale = Vector2 (0.5 , 0.5 )
166
+ texture = ExtResource ("10_cxmht" )
167
+
168
+ [node name ="Sprite2D3" type ="Sprite2D" parent ="Jamur/2" ]
169
+ position = Vector2 (-8 , 9 )
170
+ scale = Vector2 (0.5 , 0.5 )
171
+ texture = ExtResource ("10_cxmht" )
172
+
173
+ [node name ="3" type ="Node2D" parent ="Jamur" ]
174
+ visible = false
175
+
176
+ [node name ="Sprite2D" type ="Sprite2D" parent ="Jamur/3" ]
177
+ position = Vector2 (-12 , 0 )
178
+ scale = Vector2 (0.5 , 0.5 )
179
+ texture = ExtResource ("11_digen" )
180
+
181
+ [node name ="Sprite2D2" type ="Sprite2D" parent ="Jamur/3" ]
182
+ position = Vector2 (0 , 2 )
183
+ scale = Vector2 (0.5 , 0.5 )
184
+ texture = ExtResource ("11_digen" )
185
+
186
+ [node name ="Sprite2D3" type ="Sprite2D" parent ="Jamur/3" ]
187
+ position = Vector2 (-8 , 9 )
188
+ scale = Vector2 (0.5 , 0.5 )
189
+ texture = ExtResource ("11_digen" )
190
+
191
+ [node name ="Area2D" type ="Area2D" parent ="." ]
192
+ collision_layer = 2
193
+ collision_mask = 2
194
+
195
+ [node name ="CollisionShape2D" type ="CollisionShape2D" parent ="Area2D" ]
196
+ position = Vector2 (-5.5 , 7.5 )
197
+ shape = SubResource ("RectangleShape2D_8miho" )
198
+
199
+ [node name ="Start" type ="Timer" parent ="." ]
200
+ wait_time = 5.0
201
+ one_shot = true
202
+
203
+ [node name ="Label" type ="Label" parent ="." ]
204
+ offset_left = -16.0
205
+ offset_top = -13.0
206
+ offset_right = 24.0
207
+ offset_bottom = 13.0
208
+ scale = Vector2 (0.5 , 0.5 )
209
+ size_flags_horizontal = 4
210
+ text = "Q to plant"
211
+ horizontal_alignment = 1
212
+
213
+ [node name ="Countdown" type ="Timer" parent ="." ]
214
+
215
+ [connection signal ="body_entered" from ="Area2D" to ="." method ="_on_area_2d_body_entered" ]
216
+ [connection signal ="body_exited" from ="Area2D" to ="." method ="_on_area_2d_body_exited" ]
217
+ [connection signal ="timeout" from ="Start" to ="." method ="_on_start_timeout" ]
218
+ [connection signal ="timeout" from ="Countdown" to ="." method ="_on_countdown_timeout" ]
0 commit comments