31 lines
949 B
Plaintext
31 lines
949 B
Plaintext
[gd_scene load_steps=8 format=2]
|
|
|
|
[ext_resource path="res://Art/slash_effect2.png" type="Texture" id=1]
|
|
[ext_resource path="res://Art/slash_effect3.png" type="Texture" id=2]
|
|
[ext_resource path="res://Art/slash_effect4.png" type="Texture" id=3]
|
|
[ext_resource path="res://Art/slash_effect5.png" type="Texture" id=4]
|
|
[ext_resource path="res://Art/slash_effect1.png" type="Texture" id=5]
|
|
[ext_resource path="res://Scripts/destroy_after_animation.gd" type="Script" id=6]
|
|
|
|
[sub_resource type="SpriteFrames" id=1]
|
|
animations = [ {
|
|
"frames": [ ExtResource( 1 ), ExtResource( 2 ), ExtResource( 3 ), ExtResource( 4 ) ],
|
|
"loop": true,
|
|
"name": "destroy",
|
|
"speed": 100.0
|
|
}, {
|
|
"frames": [ ExtResource( 5 ) ],
|
|
"loop": true,
|
|
"name": "spawn",
|
|
"speed": 5.0
|
|
} ]
|
|
|
|
[node name="SlashAnimation" type="Node2D"]
|
|
|
|
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
|
|
frames = SubResource( 1 )
|
|
animation = "destroy"
|
|
frame = 2
|
|
playing = true
|
|
script = ExtResource( 6 )
|