cirnogodot/Scenes/Selector.tscn
2025-03-01 18:41:20 +01:00

37 lines
1 KiB
Text

[gd_scene load_steps=6 format=3 uid="uid://chkpk7erlqajg"]
[ext_resource type="Texture2D" uid="uid://dde36pgb8fbwc" path="res://Sprites/selector_big.png" id="1_cc7mb"]
[ext_resource type="Script" uid="uid://dmdt4141dcve1" path="res://Scripts/Selector.cs" id="1_pp2dj"]
[sub_resource type="AtlasTexture" id="AtlasTexture_gc2o5"]
atlas = ExtResource("1_cc7mb")
region = Rect2(0, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_goaai"]
atlas = ExtResource("1_cc7mb")
region = Rect2(16, 0, 16, 16)
[sub_resource type="SpriteFrames" id="SpriteFrames_kehny"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_gc2o5")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_goaai")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[node name="Selector" type="Node2D"]
z_index = 100
z_as_relative = false
script = ExtResource("1_pp2dj")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
z_index = -5
sprite_frames = SubResource("SpriteFrames_kehny")
autoplay = "default"
frame_progress = 0.664675