blob: 82c1f709f861b337f3fc61a2dddf1accc5c151fe (
plain)
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
|
[gd_scene load_steps=4 format=3 uid="uid://cplelcvju50xj"]
[ext_resource type="Script" path="res://Scenes/Entities/Enemies/Flowers.gd" id="1_a4wuh"]
[sub_resource type="CircleShape2D" id="CircleShape2D_2a0s2"]
radius = 64.0
[sub_resource type="CircleShape2D" id="CircleShape2D_y4xm5"]
radius = 8.0
[node name="Flowers" type="CharacterBody2D"]
collision_layer = 0
collision_mask = 136
motion_mode = 1
script = ExtResource("1_a4wuh")
[node name="DetectionArea" type="Area2D" parent="."]
collision_layer = 64
collision_mask = 2
[node name="CollisionShape2D" type="CollisionShape2D" parent="DetectionArea"]
shape = SubResource("CircleShape2D_2a0s2")
[node name="Timer" type="Timer" parent="."]
autostart = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_y4xm5")
[connection signal="body_entered" from="DetectionArea" to="." method="_on_detection_area_body_entered"]
[connection signal="body_exited" from="DetectionArea" to="." method="_on_detection_area_body_exited"]
[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"]
|