86 lines
2.4 KiB
Text
86 lines
2.4 KiB
Text
[gd_scene load_steps=18 format=2]
|
|
|
|
[ext_resource path="res://objects/enemy/boss/2600_small_explosion.gd" type="Script" id=1]
|
|
[ext_resource path="res://graphics/enemy/explosion_small.png" type="Texture" id=2]
|
|
[ext_resource path="res://graphics/enemy/explosion.png" type="Texture" id=3]
|
|
|
|
[sub_resource type="AtlasTexture" id=1]
|
|
atlas = ExtResource( 2 )
|
|
region = Rect2( 0, 0, 16, 16 )
|
|
|
|
[sub_resource type="AtlasTexture" id=2]
|
|
atlas = ExtResource( 2 )
|
|
region = Rect2( 16, 0, 16, 16 )
|
|
|
|
[sub_resource type="AtlasTexture" id=3]
|
|
atlas = ExtResource( 2 )
|
|
region = Rect2( 32, 0, 16, 16 )
|
|
|
|
[sub_resource type="AtlasTexture" id=4]
|
|
atlas = ExtResource( 2 )
|
|
region = Rect2( 48, 0, 16, 16 )
|
|
|
|
[sub_resource type="AtlasTexture" id=5]
|
|
atlas = ExtResource( 2 )
|
|
region = Rect2( 64, 0, 16, 16 )
|
|
|
|
[sub_resource type="AtlasTexture" id=6]
|
|
atlas = ExtResource( 2 )
|
|
region = Rect2( 80, 0, 16, 16 )
|
|
|
|
[sub_resource type="SpriteFrames" id=14]
|
|
animations = [ {
|
|
"frames": [ SubResource( 1 ), SubResource( 2 ), SubResource( 3 ), SubResource( 4 ), SubResource( 5 ), SubResource( 6 ) ],
|
|
"loop": false,
|
|
"name": "explode",
|
|
"speed": 20.0
|
|
} ]
|
|
|
|
[sub_resource type="AtlasTexture" id=8]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 0, 0, 64, 64 )
|
|
|
|
[sub_resource type="AtlasTexture" id=9]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 64, 0, 64, 64 )
|
|
|
|
[sub_resource type="AtlasTexture" id=10]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 128, 0, 64, 64 )
|
|
|
|
[sub_resource type="AtlasTexture" id=11]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 192, 0, 64, 64 )
|
|
|
|
[sub_resource type="AtlasTexture" id=12]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 256, 0, 64, 64 )
|
|
|
|
[sub_resource type="AtlasTexture" id=13]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 320, 0, 64, 64 )
|
|
|
|
[sub_resource type="SpriteFrames" id=15]
|
|
animations = [ {
|
|
"frames": [ SubResource( 8 ), SubResource( 9 ), SubResource( 10 ), SubResource( 11 ), SubResource( 12 ), SubResource( 13 ) ],
|
|
"loop": false,
|
|
"name": "explode",
|
|
"speed": 10.0
|
|
} ]
|
|
|
|
[node name="2600Explosion" type="Node2D"]
|
|
z_index = 50
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
|
|
visible = false
|
|
frames = SubResource( 14 )
|
|
animation = "explode"
|
|
|
|
[node name="AnimatedSprite2" type="AnimatedSprite" parent="."]
|
|
visible = false
|
|
frames = SubResource( 15 )
|
|
animation = "explode"
|
|
|
|
[connection signal="animation_finished" from="AnimatedSprite" to="." method="_on_animation_finished"]
|
|
[connection signal="animation_finished" from="AnimatedSprite2" to="." method="_on_animation_finished"]
|