Open1kJ/Unit/unit.tscn

135 lines
3.3 KiB
Plaintext
Raw Permalink Normal View History

2024-02-26 12:06:12 -06:00
[gd_scene load_steps=9 format=3 uid="uid://dtm0201qhcn4d"]
[ext_resource type="Script" path="res://Unit/unit.gd" id="1_6ggpr"]
[sub_resource type="Animation" id="Animation_ijbbj"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:rotation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [0.0]
}
[sub_resource type="Animation" id="Animation_wu12n"]
resource_name = "spin"
length = 7.00001
loop_mode = 1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:rotation")
tracks/0/interp = 1
tracks/0/loop_wrap = false
tracks/0/keys = {
"times": PackedFloat32Array(0, 7),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [0.0, 6.28319]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_fvvof"]
_data = {
"RESET": SubResource("Animation_ijbbj"),
"spin": SubResource("Animation_wu12n")
}
[sub_resource type="Animation" id="Animation_nsm8w"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:scale")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector2(1, 1)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath(".:offset")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector2(2.08165e-12, -128)]
}
[sub_resource type="Animation" id="Animation_yme65"]
resource_name = "idle"
length = 1.2
loop_mode = 2
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:scale")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 1.2),
"transitions": PackedFloat32Array(-2, 1),
"update": 0,
"values": [Vector2(1, 1), Vector2(1.05, 0.97)]
}
[sub_resource type="Animation" id="Animation_mqx3b"]
resource_name = "move"
length = 0.116668
loop_mode = 2
step = 0.0166667
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:offset")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.116667),
"transitions": PackedFloat32Array(0.435275, 1),
"update": 0,
"values": [Vector2(2.08165e-12, -128), Vector2(2.08165e-12, -158)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_8dthf"]
_data = {
"RESET": SubResource("Animation_nsm8w"),
"idle": SubResource("Animation_yme65"),
"move": SubResource("Animation_mqx3b")
}
[node name="Unit" type="Node2D"]
z_index = 1
script = ExtResource("1_6ggpr")
metadata/_edit_group_ = true
[node name="RingSprite" type="Sprite2D" parent="."]
flip_v = true
[node name="AnimationPlayer" type="AnimationPlayer" parent="RingSprite"]
libraries = {
"": SubResource("AnimationLibrary_fvvof")
}
[node name="UnitSprite" type="Sprite2D" parent="."]
top_level = true
z_index = 2
offset = Vector2(2.08165e-12, -128)
flip_h = true
[node name="AnimationPlayer" type="AnimationPlayer" parent="UnitSprite"]
libraries = {
"": SubResource("AnimationLibrary_8dthf")
}