Newer
Older
DungeonShooting / DungeonShooting_Godot / prefab / effect / Hit.tscn
[gd_scene load_steps=8 format=2]

[ext_resource path="res://resource/sprite/effect/hit/hit2.png" type="Texture" id=1]
[ext_resource path="res://resource/sprite/effect/hit/hit1.png" type="Texture" id=2]
[ext_resource path="res://resource/sprite/effect/hit/hit4.png" type="Texture" id=3]
[ext_resource path="res://resource/sprite/effect/hit/hit0.png" type="Texture" id=4]
[ext_resource path="res://resource/sprite/effect/hit/hit3.png" type="Texture" id=5]
[ext_resource path="res://src/effect/Hit.cs" type="Script" id=6]

[sub_resource type="SpriteFrames" id=1]
animations = [ {
"frames": [ ExtResource( 4 ), ExtResource( 2 ), ExtResource( 1 ), ExtResource( 5 ), ExtResource( 3 ) ],
"loop": true,
"name": "Hit",
"speed": 20.0
} ]

[node name="Hit" type="AnimatedSprite"]
frames = SubResource( 1 )
animation = "Hit"
offset = Vector2( 1, 11 )
script = ExtResource( 6 )

[connection signal="animation_finished" from="." to="." method="_on_Hit_animation_finished"]