asteroids/Scenes/explosion.tscn
2025-10-19 20:04:59 -06:00

55 lines
1.5 KiB
Text

[gd_scene load_steps=8 format=3 uid="uid://g6cu38jl3h32"]
[ext_resource type="Script" uid="uid://lawrmxvtimw1" path="res://Scripts/explosion.gd" id="1_a801j"]
[ext_resource type="Texture2D" uid="uid://cv84w0y2jg3i3" path="res://Sprites/i_are_spaceship.png" id="2_4okmj"]
[sub_resource type="AtlasTexture" id="AtlasTexture_vxas0"]
atlas = ExtResource("2_4okmj")
region = Rect2(48, 31, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_j4sxf"]
atlas = ExtResource("2_4okmj")
region = Rect2(32, 31, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_m5xho"]
atlas = ExtResource("2_4okmj")
region = Rect2(16, 31, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_kmxf7"]
atlas = ExtResource("2_4okmj")
region = Rect2(0, 31, 16, 16)
[sub_resource type="SpriteFrames" id="SpriteFrames_l04k4"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_vxas0")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_j4sxf")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_m5xho")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_kmxf7")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_j4sxf")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_vxas0")
}],
"loop": true,
"name": &"default",
"speed": 12.0
}]
[node name="Node2D" type="Node2D"]
[node name="Area2D" type="Area2D" parent="."]
script = ExtResource("1_a801j")
[node name="Explosion" type="AnimatedSprite2D" parent="Area2D"]
sprite_frames = SubResource("SpriteFrames_l04k4")
autoplay = "default"