mirror of
https://github.com/Steffo99/hella-farm.git
synced 2024-11-28 19:14:23 +00:00
19 lines
614 B
Text
19 lines
614 B
Text
[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
|
|
|
|
[node name="Eater" type="Area2D"]
|
|
collision_layer = 0
|
|
collision_mask = 8
|
|
monitorable = false
|
|
script = ExtResource("1_urx5y")
|
|
|
|
[node name="Shape" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("CircleShape2D_61hv0")
|
|
debug_color = Color(1, 0, 0.027451, 0)
|
|
|
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|
|
[connection signal="eaten" from="." to="." method="_on_eaten"]
|