mirror of
https://github.com/Steffo99/hella-farm.git
synced 2024-11-24 09:04:22 +00:00
WHY DOES AUTOSAVE NOT WORK
This commit is contained in:
parent
a637dcfdf7
commit
fa55e02180
1 changed files with 7 additions and 1 deletions
|
@ -1,11 +1,17 @@
|
||||||
[gd_scene load_steps=2 format=3 uid="uid://ctpn4hvkhxoi3"]
|
[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"]
|
[sub_resource type="CircleShape2D" id="CircleShape2D_kxb8e"]
|
||||||
radius = 100.0
|
radius = 100.0
|
||||||
|
|
||||||
[node name="Hunter" type="Node2D"]
|
[node name="Hunter" type="Node2D"]
|
||||||
|
script = ExtResource("1_3bmd5")
|
||||||
|
|
||||||
[node name="DetectionArea" type="Area2D" parent="."]
|
[node name="DetectionArea" type="Area2D" parent="."]
|
||||||
|
|
||||||
[node name="Shape" type="CollisionShape2D" parent="DetectionArea"]
|
[node name="Shape" type="CollisionShape2D" parent="DetectionArea"]
|
||||||
shape = SubResource("CircleShape2D_kxb8e")
|
shape = SubResource("CircleShape2D_kxb8e")
|
||||||
|
|
||||||
|
[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"]
|
||||||
|
|
Loading…
Reference in a new issue