23 lines
836 B
Plaintext
23 lines
836 B
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://c42ny2e8vbhhc"]
|
|
|
|
[ext_resource type="Script" uid="uid://ccydu80643k4s" path="res://Scripts/CursorScript.gd" id="1_uu6xs"]
|
|
[ext_resource type="Texture2D" uid="uid://d0hckoql2xnbq" path="res://Textures/svg/Cursor.svg" id="2_r0du0"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_v75j3"]
|
|
radius = 19.0263
|
|
|
|
[node name="Cursor" type="Area2D"]
|
|
script = ExtResource("1_uu6xs")
|
|
ShowMouse = true
|
|
|
|
[node name="CursorTexture" type="Sprite2D" parent="."]
|
|
texture = ExtResource("2_r0du0")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("CircleShape2D_v75j3")
|
|
|
|
[node name="Line2D" type="Line2D" parent="."]
|
|
|
|
[connection signal="area_entered" from="." to="." method="_on_area_entered"]
|
|
[connection signal="area_exited" from="." to="." method="_on_area_exited"]
|