batrix/scenes/ui/cursor.tscn

48 lines
1.1 KiB
Plaintext

[gd_scene load_steps=3 format=3 uid="uid://0y0n7ltt7g4e"]
[ext_resource type="Texture2D" uid="uid://xi8bgmkq6kiq" path="res://assets/textures/shadow_decal.png" id="1_77wok"]
[ext_resource type="Script" path="res://scripts/globals/cursor.gd" id="1_tkygf"]
[node name="Cursor" type="CanvasLayer"]
process_mode = 3
process_priority = 1000
process_physics_priority = 1000
layer = 128
script = ExtResource("1_tkygf")
side_change_speed = null
screen_inset = null
[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 = ExtResource("1_77wok")
expand_mode = 1