1
Fork 0
mirror of https://github.com/Steffo99/hella-farm.git synced 2024-11-25 17:44:24 +00:00
hella-farm/behaviours/skitter_from_mouse.tscn

17 lines
840 B
Text

[gd_scene load_steps=3 format=3 uid="uid://c1wqgyakaultt"]
[ext_resource type="Script" path="res://behaviours/skitter_from_mouse.gd" id="1_ftcf8"]
[ext_resource type="PackedScene" uid="uid://cbg5kgwxusvxf" path="res://behaviours/hover_detector.tscn" id="2_cuaq0"]
[node name="SkitterFromMouse" type="Node2D"]
script = ExtResource("1_ftcf8")
[node name="ScareArea" parent="." instance=ExtResource("2_cuaq0")]
[node name="CalmTimer" type="Timer" parent="."]
[connection signal="calmed" from="." to="." method="_on_calmed"]
[connection signal="move" from="." to="." method="_on_move"]
[connection signal="scared" from="." to="." method="_on_scared"]
[connection signal="mouse_entered" from="ScareArea" to="." method="_on_hover_detector_mouse_entered"]
[connection signal="timeout" from="CalmTimer" to="." method="_on_calm_timer_timeout"]