mirror of
https://github.com/Steffo99/hella-farm.git
synced 2024-11-23 00:24:21 +00:00
18 lines
856 B
Text
18 lines
856 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="."]
|
|
one_shot = true
|
|
|
|
[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"]
|