rundumdiewelten/rund-um-die-welten/player/death_animation.tscn
phantomvines d8eec1150e upload
2025-09-19 16:37:23 +02:00

73 lines
2.1 KiB
Text

[gd_scene load_steps=11 format=3 uid="uid://cfpgrukw6wm54"]
[ext_resource type="Script" uid="uid://iprsjefi33q0" path="res://player/death_animation.gd" id="1_g67hj"]
[ext_resource type="Texture2D" uid="uid://be8rbanobce5e" path="res://assets/ship-destroyed-Sheet.png" id="1_ynxyy"]
[sub_resource type="AtlasTexture" id="AtlasTexture_ynxyy"]
atlas = ExtResource("1_ynxyy")
region = Rect2(0, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_g67hj"]
atlas = ExtResource("1_ynxyy")
region = Rect2(64, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_3gi3u"]
atlas = ExtResource("1_ynxyy")
region = Rect2(128, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_5mer2"]
atlas = ExtResource("1_ynxyy")
region = Rect2(192, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_m1sk3"]
atlas = ExtResource("1_ynxyy")
region = Rect2(256, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_jd1k0"]
atlas = ExtResource("1_ynxyy")
region = Rect2(320, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_cg0m8"]
atlas = ExtResource("1_ynxyy")
region = Rect2(384, 0, 64, 64)
[sub_resource type="SpriteFrames" id="SpriteFrames_1jhdg"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_ynxyy")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_g67hj")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_3gi3u")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_5mer2")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_m1sk3")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_jd1k0")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_cg0m8")
}],
"loop": true,
"name": &"default",
"speed": 10.0
}]
[node name="death_animation" type="Node2D"]
process_mode = 3
texture_filter = 1
script = ExtResource("1_g67hj")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
sprite_frames = SubResource("SpriteFrames_1jhdg")
frame = 1
frame_progress = 0.444371
[connection signal="animation_looped" from="AnimatedSprite2D" to="." method="_on_animated_sprite_2d_animation_looped"]