2024-04-14 23:23:06 +00:00
|
|
|
[gd_scene load_steps=3 format=3 uid="uid://jg7qkbswgqjc"]
|
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://behaviours/eater.gd" id="1_urx5y"]
|
|
|
|
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_61hv0"]
|
2024-04-15 04:07:49 +00:00
|
|
|
radius = 8.0
|
2024-04-14 23:23:06 +00:00
|
|
|
|
|
|
|
[node name="Eater" type="Area2D"]
|
2024-04-15 04:07:49 +00:00
|
|
|
collision_layer = 0
|
|
|
|
collision_mask = 8
|
|
|
|
monitorable = false
|
2024-04-14 23:23:06 +00:00
|
|
|
script = ExtResource("1_urx5y")
|
|
|
|
|
|
|
|
[node name="Shape" type="CollisionShape2D" parent="."]
|
|
|
|
shape = SubResource("CircleShape2D_61hv0")
|
2024-04-15 04:07:49 +00:00
|
|
|
debug_color = Color(1, 0, 0.027451, 0)
|
2024-04-14 23:23:06 +00:00
|
|
|
|
|
|
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|
2024-04-15 01:06:31 +00:00
|
|
|
[connection signal="eaten" from="." to="." method="_on_eaten"]
|