2024-09-08 17:34:41 +00:00
|
|
|
[gd_scene load_steps=4 format=3 uid="uid://qecwga1b4yqn"]
|
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://components/Cursor/cursor.gd" id="1_nmkwm"]
|
2024-09-11 23:39:13 +00:00
|
|
|
[ext_resource type="Texture2D" uid="uid://dlg0b4gpglj1v" path="res://components/Cursor/cursor_pixel_2.png" id="2_bjcic"]
|
2024-09-08 17:34:41 +00:00
|
|
|
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_4cq27"]
|
|
|
|
|
|
|
|
[node name="Cursor" type="CanvasLayer"]
|
|
|
|
layer = 10
|
|
|
|
script = ExtResource("1_nmkwm")
|
|
|
|
|
|
|
|
[node name="MouseControl" type="Area2D" parent="."]
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="MouseControl"]
|
|
|
|
shape = SubResource("RectangleShape2D_4cq27")
|
|
|
|
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="MouseControl"]
|
2024-09-12 02:04:24 +00:00
|
|
|
position = Vector2(10, 10)
|
2024-09-11 23:39:13 +00:00
|
|
|
texture = ExtResource("2_bjcic")
|
2024-09-08 17:34:41 +00:00
|
|
|
|
|
|
|
[connection signal="area_entered" from="MouseControl" to="." method="_on_mouse_control_area_entered"]
|
|
|
|
[connection signal="area_exited" from="MouseControl" to="." method="_on_mouse_control_area_exited"]
|