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

18 lines
840 B
Text
Raw Normal View History

2024-04-13 22:26:24 +00:00
[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"]
2024-04-13 22:26:24 +00:00
[node name="SkitterFromMouse" type="Node2D"]
script = ExtResource("1_ftcf8")
[node name="ScareArea" parent="." instance=ExtResource("2_cuaq0")]
2024-04-13 22:26:24 +00:00
[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"]
2024-04-13 22:26:24 +00:00
[connection signal="timeout" from="CalmTimer" to="." method="_on_calm_timer_timeout"]