56 lines
1.6 KiB
Text
56 lines
1.6 KiB
Text
[gd_scene format=3 uid="uid://eycadu74k5yx"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://bkthnj23dxsc4" path="res://textures/slash.png" id="1_edkvd"]
|
|
[ext_resource type="Script" uid="uid://d26yt0riuggb4" path="res://scripts/effects/slash.gd" id="2_dcbvk"]
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_vtaks"]
|
|
atlas = ExtResource("1_edkvd")
|
|
region = Rect2(0, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_kvpfn"]
|
|
atlas = ExtResource("1_edkvd")
|
|
region = Rect2(48, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_dinhu"]
|
|
atlas = ExtResource("1_edkvd")
|
|
region = Rect2(96, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_kvuet"]
|
|
atlas = ExtResource("1_edkvd")
|
|
region = Rect2(144, 0, 48, 48)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_trtic"]
|
|
atlas = ExtResource("1_edkvd")
|
|
region = Rect2(192, 0, 48, 48)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_ir15t"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_vtaks")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_kvpfn")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_dinhu")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_kvuet")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_trtic")
|
|
}],
|
|
"loop": false,
|
|
"name": &"default",
|
|
"speed": 16.0
|
|
}]
|
|
|
|
[node name="Slash" type="AnimatedSprite3D" unique_id=1787289120]
|
|
transform = Transform3D(-1, 0, -8.742278e-08, -8.742278e-08, -4.371139e-08, 1, -3.821371e-15, 1, 4.371139e-08, 0, 0, 0)
|
|
pixel_size = 0.04
|
|
texture_filter = 0
|
|
sprite_frames = SubResource("SpriteFrames_ir15t")
|
|
frame = 4
|
|
frame_progress = 1.0
|
|
script = ExtResource("2_dcbvk")
|