49 lines
1.3 KiB
Plaintext
49 lines
1.3 KiB
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://0y0n7ltt7g4e"]
|
|
|
|
[ext_resource type="Script" uid="uid://csl28p10k7w1i" path="res://scripts/globals/cursor.gd" id="1_tkygf"]
|
|
[ext_resource type="Texture2D" uid="uid://cu7dd1c24w8i3" path="res://assets/textures/ui/cursor.png" id="2_qi3ym"]
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_gbfun"]
|
|
atlas = ExtResource("2_qi3ym")
|
|
region = Rect2(206, 206, 100, 100)
|
|
|
|
[node name="Cursor" type="CanvasLayer" node_paths=PackedStringArray("_single_cursor")]
|
|
process_mode = 3
|
|
layer = 128
|
|
script = ExtResource("1_tkygf")
|
|
_single_cursor = NodePath("CursorBase")
|
|
|
|
[node name="CursorBase" type="Control" parent="."]
|
|
layout_mode = 3
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -20.0
|
|
offset_top = -20.0
|
|
offset_right = 20.0
|
|
offset_bottom = 20.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
pivot_offset = Vector2(20, 20)
|
|
mouse_filter = 2
|
|
|
|
[node name="CursorCircle" type="TextureRect" parent="CursorBase"]
|
|
layout_mode = 1
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -13.0
|
|
offset_top = -13.0
|
|
offset_right = 13.0
|
|
offset_bottom = 13.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
pivot_offset = Vector2(13, 13)
|
|
mouse_filter = 2
|
|
texture = SubResource("AtlasTexture_gbfun")
|
|
expand_mode = 1
|