petoriaware/petoriaware/scenes/life.tscn
2025-01-29 12:00:28 -08:00

54 lines
1.5 KiB
Text

[gd_scene load_steps=5 format=3 uid="uid://bp37lt4qode6h"]
[ext_resource type="Texture2D" uid="uid://ciylr5xhjvf0d" path="res://sprites/intermission/notnight.png" id="1_ikc02"]
[sub_resource type="Animation" id="Animation_opdt8"]
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": [Vector3(0.3, 0.3, 0.3)]
}
[sub_resource type="Animation" id="Animation_i7e7u"]
resource_name = "bounce_1"
length = 0.5
loop_mode = 1
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, 0.1, 0.3, 0.6),
"transitions": PackedFloat32Array(1, 1, 1, 1),
"update": 0,
"values": [Vector3(0.27, 0.345, 0.3), Vector3(0.34, 0.195, 0.3), Vector3(0.3, 0.3, 0.3), Vector3(0.27, 0.345, 0.3)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_u407n"]
_data = {
"RESET": SubResource("Animation_opdt8"),
"bounce_1": SubResource("Animation_i7e7u")
}
[node name="Life" type="Sprite3D"]
transform = Transform3D(0.3, 0, 0, 0, 0.3, 0, 0, 0, 0.3, 0, 0, 0)
billboard = 1
double_sided = false
texture_filter = 0
texture = ExtResource("1_ikc02")
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
"": SubResource("AnimationLibrary_u407n")
}
autoplay = "bounce_1"