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"]
|
2024-04-14 01:49:28 +00:00
|
|
|
[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")
|
|
|
|
|
2024-04-14 01:51:23 +00:00
|
|
|
[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"]
|
2024-04-14 01:51:23 +00:00
|
|
|
[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"]
|