batrix/scenes/ui/cursor_base.tscn

86 lines
2.0 KiB
Plaintext

[gd_scene load_steps=5 format=3 uid="uid://d1v8bd7wuquej"]
[ext_resource type="Texture2D" uid="uid://cu7dd1c24w8i3" path="res://assets/textures/ui/cursor.png" id="1_j2xq6"]
[sub_resource type="AtlasTexture" id="AtlasTexture_p3xy3"]
atlas = ExtResource("1_j2xq6")
region = Rect2(206, 206, 100, 100)
[sub_resource type="AtlasTexture" id="AtlasTexture_j2xq6"]
atlas = ExtResource("1_j2xq6")
region = Rect2(312, 227, 168, 61)
[sub_resource type="AtlasTexture" id="AtlasTexture_j8b0k"]
atlas = ExtResource("1_j2xq6")
region = Rect2(222, 143, 71, 50)
[node name="CursorBase" type="Control"]
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="."]
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_p3xy3")
expand_mode = 1
[node name="CursorBat" type="TextureRect" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = 16.0
offset_top = -7.0
offset_right = 61.0
offset_bottom = 7.0
grow_horizontal = 2
grow_vertical = 2
pivot_offset = Vector2(-14, 7)
mouse_filter = 2
texture = SubResource("AtlasTexture_j2xq6")
expand_mode = 1
[node name="CursorArrow" type="TextureRect" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -10.0
offset_top = -29.0
offset_right = 10.0
offset_bottom = -16.0
grow_horizontal = 2
grow_vertical = 2
pivot_offset = Vector2(10, 29)
mouse_filter = 2
texture = SubResource("AtlasTexture_j8b0k")
expand_mode = 1