2024-04-13 21:27:36 +00:00
|
|
|
[gd_scene load_steps=3 format=3 uid="uid://dj72yshd25ucx"]
|
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://behaviours/collectable.gd" id="1_p0pc3"]
|
|
|
|
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_su28r"]
|
2024-04-14 02:35:57 +00:00
|
|
|
radius = 16.0
|
2024-04-13 21:27:36 +00:00
|
|
|
|
|
|
|
[node name="Collectable" type="Node2D"]
|
|
|
|
script = ExtResource("1_p0pc3")
|
|
|
|
|
2024-04-13 21:28:17 +00:00
|
|
|
[node name="MouseArea" type="Area2D" parent="."]
|
2024-04-14 18:55:25 +00:00
|
|
|
collision_layer = 0
|
|
|
|
collision_mask = 0
|
2024-04-14 02:34:37 +00:00
|
|
|
monitorable = false
|
2024-04-13 21:27:36 +00:00
|
|
|
|
2024-04-13 21:28:17 +00:00
|
|
|
[node name="Shape" type="CollisionShape2D" parent="MouseArea"]
|
2024-04-13 21:27:36 +00:00
|
|
|
shape = SubResource("CircleShape2D_su28r")
|
2024-04-13 21:28:17 +00:00
|
|
|
|
|
|
|
[connection signal="collected" from="." to="." method="_on_collected"]
|
|
|
|
[connection signal="mouse_entered" from="MouseArea" to="." method="_on_mouse_area_mouse_entered"]
|