2024-04-14 01:55:57 +00:00
|
|
|
[gd_scene load_steps=3 format=3 uid="uid://bvrxvrjlo5130"]
|
2024-04-13 21:40:45 +00:00
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://behaviours/move_towards_mouse.gd" id="1_nbja1"]
|
2024-04-14 01:55:57 +00:00
|
|
|
[ext_resource type="PackedScene" uid="uid://cbg5kgwxusvxf" path="res://behaviours/hover_detector.tscn" id="2_qru2e"]
|
2024-04-13 21:40:34 +00:00
|
|
|
|
|
|
|
[node name="MoveTowardsMouse" type="Node2D"]
|
2024-04-13 21:40:45 +00:00
|
|
|
script = ExtResource("1_nbja1")
|
2024-04-14 01:55:57 +00:00
|
|
|
speed = null
|
|
|
|
|
|
|
|
[node name="CaptureArea" parent="." instance=ExtResource("2_qru2e")]
|
|
|
|
|
|
|
|
[connection signal="mouse_entered" from="CaptureArea" to="." method="_on_trigger_area_mouse_entered"]
|