Newer
Older
DungeonShooting / DungeonShooting_Godot / prefab / effect / weapon / MeleeAttack1.tscn
@小李xl 小李xl on 15 Sep 2023 1 KB 优化近战特效
[gd_scene load_steps=8 format=3 uid="uid://cylm455bsio3g"]

[ext_resource type="Texture2D" uid="uid://7jhe2mmctmr1" path="res://resource/sprite/effects/weapon/MeleeAttack1.png" id="1_bjxle"]
[ext_resource type="Script" path="res://src/game/effects/AutoDestroySprite.cs" id="2_bjagc"]

[sub_resource type="AtlasTexture" id="AtlasTexture_36t2o"]
atlas = ExtResource("1_bjxle")
region = Rect2(0, 0, 16, 38)

[sub_resource type="AtlasTexture" id="AtlasTexture_pwsgl"]
atlas = ExtResource("1_bjxle")
region = Rect2(16, 0, 16, 38)

[sub_resource type="AtlasTexture" id="AtlasTexture_8lpt5"]
atlas = ExtResource("1_bjxle")
region = Rect2(32, 0, 16, 38)

[sub_resource type="AtlasTexture" id="AtlasTexture_ihg55"]
atlas = ExtResource("1_bjxle")
region = Rect2(48, 0, 16, 38)

[sub_resource type="SpriteFrames" id="SpriteFrames_hkcv6"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_36t2o")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_pwsgl")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_8lpt5")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ihg55")
}],
"loop": false,
"name": &"default",
"speed": 20.0
}]

[node name="MeleeAttack1" type="AnimatedSprite2D"]
sprite_frames = SubResource("SpriteFrames_hkcv6")
autoplay = "default"
script = ExtResource("2_bjagc")
DelayTime = 0.2