batrix/scenes/ui/cursor.tscn
2025-02-27 03:09:30 +10:00

62 lines
1.4 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")
[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)
texture = ExtResource("1_77wok")
expand_mode = 1
[node name="CursorBat" 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 = 14.0
offset_top = -7.0
offset_right = 59.0
offset_bottom = 7.0
grow_horizontal = 2
grow_vertical = 2
pivot_offset = Vector2(-14, 7)
texture = ExtResource("1_77wok")
expand_mode = 1