1
Fork 0
mirror of https://github.com/Steffo99/hella-farm.git synced 2024-11-22 08:04:23 +00:00
hella-farm/behaviours/eater.tscn

20 lines
614 B
Text
Raw Normal View History

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"]
radius = 8.0
2024-04-14 23:23:06 +00:00
[node name="Eater" type="Area2D"]
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")
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"]