50 lines
1.4 KiB
Plaintext
50 lines
1.4 KiB
Plaintext
[gd_scene load_steps=12 format=2]
|
|
|
|
[ext_resource path="res://objects/explosion/explosion.png" type="Texture" id=1]
|
|
[ext_resource path="res://objects/explosion/explosion.gd" type="Script" id=2]
|
|
|
|
[sub_resource type="AtlasTexture" id=1]
|
|
atlas = ExtResource( 1 )
|
|
region = Rect2( 0, 0, 16, 16 )
|
|
|
|
[sub_resource type="AtlasTexture" id=2]
|
|
atlas = ExtResource( 1 )
|
|
region = Rect2( 16, 0, 16, 16 )
|
|
|
|
[sub_resource type="AtlasTexture" id=3]
|
|
atlas = ExtResource( 1 )
|
|
region = Rect2( 32, 0, 16, 16 )
|
|
|
|
[sub_resource type="AtlasTexture" id=4]
|
|
atlas = ExtResource( 1 )
|
|
region = Rect2( 0, 16, 16, 16 )
|
|
|
|
[sub_resource type="AtlasTexture" id=5]
|
|
atlas = ExtResource( 1 )
|
|
region = Rect2( 16, 16, 16, 16 )
|
|
|
|
[sub_resource type="AtlasTexture" id=6]
|
|
atlas = ExtResource( 1 )
|
|
region = Rect2( 32, 16, 16, 16 )
|
|
|
|
[sub_resource type="AtlasTexture" id=7]
|
|
atlas = ExtResource( 1 )
|
|
region = Rect2( 0, 32, 16, 16 )
|
|
|
|
[sub_resource type="AtlasTexture" id=8]
|
|
atlas = ExtResource( 1 )
|
|
region = Rect2( 16, 32, 16, 16 )
|
|
|
|
[sub_resource type="SpriteFrames" id=9]
|
|
animations = [ {
|
|
"frames": [ SubResource( 1 ), SubResource( 2 ), SubResource( 3 ), SubResource( 4 ), SubResource( 5 ), SubResource( 6 ), SubResource( 7 ), SubResource( 8 ) ],
|
|
"loop": false,
|
|
"name": "default",
|
|
"speed": 15.0
|
|
} ]
|
|
|
|
[node name="explosion" type="AnimatedSprite"]
|
|
frames = SubResource( 9 )
|
|
script = ExtResource( 2 )
|
|
[connection signal="animation_finished" from="." to="." method="_on_explosion_animation_finished"]
|