mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-08 20:57:13 +08:00
feat(音效/动画): 为武器添加攻击音效并优化子弹动画
为DaoStatue武器添加攻击音效文件 调整Wuwei子弹的动画效果,包括缩放动画和时间参数优化
This commit is contained in:
@@ -76,6 +76,28 @@ tracks/5/keys = {
|
||||
"points": PackedFloat32Array(0, -0.25, 0, 0.25, 0),
|
||||
"times": PackedFloat32Array(0)
|
||||
}
|
||||
tracks/6/type = "bezier"
|
||||
tracks/6/imported = false
|
||||
tracks/6/enabled = true
|
||||
tracks/6/path = NodePath(".:scale:x")
|
||||
tracks/6/interp = 1
|
||||
tracks/6/loop_wrap = true
|
||||
tracks/6/keys = {
|
||||
"handle_modes": PackedInt32Array(0),
|
||||
"points": PackedFloat32Array(0, -0.25, 0, 0.25, 0),
|
||||
"times": PackedFloat32Array(0)
|
||||
}
|
||||
tracks/7/type = "bezier"
|
||||
tracks/7/imported = false
|
||||
tracks/7/enabled = true
|
||||
tracks/7/path = NodePath(".:scale:y")
|
||||
tracks/7/interp = 1
|
||||
tracks/7/loop_wrap = true
|
||||
tracks/7/keys = {
|
||||
"handle_modes": PackedInt32Array(0),
|
||||
"points": PackedFloat32Array(0, -0.25, 0, 0.25, 0),
|
||||
"times": PackedFloat32Array(0)
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_vxgkj"]
|
||||
resource_name = "destroy"
|
||||
@@ -102,7 +124,7 @@ tracks/0/keys = {
|
||||
[sub_resource type="Animation" id="Animation_06poh"]
|
||||
resource_name = "spawn"
|
||||
length = 3.0
|
||||
step = 0.02
|
||||
step = 0.05
|
||||
tracks/0/type = "bezier"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
@@ -121,7 +143,7 @@ tracks/1/path = NodePath(".:modulate")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0, 0.9, 2.2, 3),
|
||||
"times": PackedFloat32Array(0, 0.6, 2.2, 3),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1),
|
||||
"update": 0,
|
||||
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1), Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
|
||||
@@ -203,6 +225,28 @@ tracks/7/keys = {
|
||||
"points": PackedFloat32Array(-5, -0.25, 0, 0.25, 0, -5, -0.036666673, 0, 0, 0),
|
||||
"times": PackedFloat32Array(0.9, 1.14)
|
||||
}
|
||||
tracks/8/type = "bezier"
|
||||
tracks/8/imported = false
|
||||
tracks/8/enabled = true
|
||||
tracks/8/path = NodePath(".:scale:x")
|
||||
tracks/8/interp = 1
|
||||
tracks/8/loop_wrap = true
|
||||
tracks/8/keys = {
|
||||
"handle_modes": PackedInt32Array(2, 0),
|
||||
"points": PackedFloat32Array(0, 0, 0, 0, 0, 1, -0.2, 0, 0, 0),
|
||||
"times": PackedFloat32Array(0, 0.25)
|
||||
}
|
||||
tracks/9/type = "bezier"
|
||||
tracks/9/imported = false
|
||||
tracks/9/enabled = true
|
||||
tracks/9/path = NodePath(".:scale:y")
|
||||
tracks/9/interp = 1
|
||||
tracks/9/loop_wrap = true
|
||||
tracks/9/keys = {
|
||||
"handle_modes": PackedInt32Array(2, 0),
|
||||
"points": PackedFloat32Array(0, 0, 0, 0, 0, 1, -0.2, 0, 0, 0),
|
||||
"times": PackedFloat32Array(0, 0.25)
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_57ptn"]
|
||||
_data = {
|
||||
@@ -224,10 +268,13 @@ autoSpawnAnimation = true
|
||||
freeAfterSpawn = true
|
||||
metadata/_edit_vertical_guides_ = [406.0]
|
||||
|
||||
[node name="animator" parent="texture" parent_id_path=PackedInt32Array(162977358) index="0" unique_id=1114087117]
|
||||
[node name="texture" parent="." index="0" unique_id=162977358]
|
||||
scale = Vector2(1e-05, 1e-05)
|
||||
|
||||
[node name="animator" parent="texture" index="0" unique_id=1114087117]
|
||||
libraries/ = SubResource("AnimationLibrary_57ptn")
|
||||
|
||||
[node name="static" type="Sprite2D" parent="texture" parent_id_path=PackedInt32Array(162977358) index="1" unique_id=892692141]
|
||||
[node name="static" type="Sprite2D" parent="texture" index="1" unique_id=892692141]
|
||||
position = Vector2(300, 0)
|
||||
texture = ExtResource("2_6ny68")
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
[ext_resource type="PackedScene" uid="uid://ckq2cq6m23hq3" path="res://components/Abstracts/WeaponCardBase.tscn" id="1_mps21"]
|
||||
[ext_resource type="Script" uid="uid://cu42bwm2r05p6" path="res://scripts/Contents/Weapons/DaoStatue.gd" id="2_c82g6"]
|
||||
[ext_resource type="Texture2D" uid="uid://gwsychqkmv21" path="res://resources/weapons/Statue_Sword_Attack0.png" id="2_gx1sf"]
|
||||
[ext_resource type="AudioStream" uid="uid://cer3lxbxqw5pq" path="res://resources/sounds/effect/sword1.mp3" id="4_y3oaj"]
|
||||
|
||||
[node name="DaoStatue" unique_id=265403254 instance=ExtResource("1_mps21")]
|
||||
script = ExtResource("2_c82g6")
|
||||
@@ -30,6 +31,9 @@ descriptionTemplate = "挥出[b]天地之剑[/b],蓄力一段时间后,
|
||||
cooldown = 4000.0
|
||||
debugRebuild = true
|
||||
|
||||
[node name="attack" parent="sounds" index="0"]
|
||||
stream = ExtResource("4_y3oaj")
|
||||
|
||||
[node name="avatar" parent="container/info" index="0"]
|
||||
texture = ExtResource("2_gx1sf")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user