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

21 lines
830 B
Text
Raw Normal View History

2024-04-13 21:56:57 +00:00
[gd_scene load_steps=3 format=3 uid="uid://ctpn4hvkhxoi3"]
[ext_resource type="Script" path="res://behaviours/hunter.gd" id="1_3bmd5"]
[sub_resource type="CircleShape2D" id="CircleShape2D_kxb8e"]
radius = 100.0
[node name="Hunter" type="Node2D"]
2024-04-13 21:56:57 +00:00
script = ExtResource("1_3bmd5")
[node name="DetectionArea" type="Area2D" parent="."]
[node name="Shape" type="CollisionShape2D" parent="DetectionArea"]
shape = SubResource("CircleShape2D_kxb8e")
debug_color = Color(1, 0, 0, 0.419608)
2024-04-13 21:56:57 +00:00
2024-04-13 22:23:03 +00:00
[connection signal="tracked" from="." to="." method="_on_tracked"]
[connection signal="untracked" from="." to="." method="_on_untracked"]
2024-04-13 21:56:57 +00:00
[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"]