mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-08 04:37:13 +08:00
fix(Characters): 修复KukeChild在masterMine无效时崩溃的问题
refactor(Bullets): 重写Volcano子弹的旋转逻辑和动画 火山子弹现在会跟随鼠标指向,并添加了新的攻击动画 feat(Weapons): 更新Volcano武器的属性和行为 调整伤害、旋转速度等属性,移除多子弹生成逻辑 chore: 为Rooster角色添加Volcano武器
This commit is contained in:
@@ -4,27 +4,96 @@
|
||||
[ext_resource type="Script" uid="uid://ci5hswfhck5as" path="res://scripts/Contents/Bullets/Volcano.gd" id="2_w1utg"]
|
||||
[ext_resource type="Texture2D" uid="uid://ctmxadaowx5ps" path="res://resources/weapons/Volcano.webp" id="2_wwxm2"]
|
||||
|
||||
[sub_resource type="Animation" id="Animation_w1utg"]
|
||||
length = 0.001
|
||||
tracks/0/type = "bezier"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("anchor/texture:position:x")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"handle_modes": PackedInt32Array(0),
|
||||
"points": PackedFloat32Array(150, -0.25, 0, 0.25, 0),
|
||||
"times": PackedFloat32Array(0)
|
||||
}
|
||||
tracks/1/type = "bezier"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("%hitbox:position:x")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"handle_modes": PackedInt32Array(0),
|
||||
"points": PackedFloat32Array(167.5, -0.25, 0, 0.25, 0),
|
||||
"times": PackedFloat32Array(0)
|
||||
}
|
||||
tracks/2/type = "value"
|
||||
tracks/2/imported = false
|
||||
tracks/2/enabled = true
|
||||
tracks/2/path = NodePath("%hitbox:disabled")
|
||||
tracks/2/interp = 1
|
||||
tracks/2/loop_wrap = true
|
||||
tracks/2/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [false]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_oinqg"]
|
||||
resource_name = "destroy"
|
||||
length = 0.5
|
||||
step = 0.1
|
||||
|
||||
[sub_resource type="Animation" id="Animation_ynxlt"]
|
||||
resource_name = "loop"
|
||||
[sub_resource type="Animation" id="Animation_o5h0y"]
|
||||
resource_name = "stab"
|
||||
length = 0.5
|
||||
loop_mode = 1
|
||||
step = 0.1
|
||||
step = 0.05
|
||||
tracks/0/type = "bezier"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("anchor/texture:position:x")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"handle_modes": PackedInt32Array(0, 0, 0),
|
||||
"points": PackedFloat32Array(150, -0.25, 0, 0.25, 0, 300, -0.083333336, -8.333334, 0, 0, 150, -0.25, 0, 0.25, 0),
|
||||
"times": PackedFloat32Array(0, 0.25, 0.5)
|
||||
}
|
||||
tracks/1/type = "bezier"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("%hitbox:position:x")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"handle_modes": PackedInt32Array(0, 2, 0),
|
||||
"points": PackedFloat32Array(165, -0.25, 0, 0.25, 0, 315, -0.041666668, 0, 0.041666668, 0, 165, -0.25, 0, 0.25, 0),
|
||||
"times": PackedFloat32Array(0, 0.25, 0.5)
|
||||
}
|
||||
tracks/2/type = "value"
|
||||
tracks/2/imported = false
|
||||
tracks/2/enabled = true
|
||||
tracks/2/path = NodePath("%hitbox:disabled")
|
||||
tracks/2/interp = 1
|
||||
tracks/2/loop_wrap = true
|
||||
tracks/2/keys = {
|
||||
"times": PackedFloat32Array(0, 0.1, 0.25, 0.4),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [true, false, true, false]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_kmogx"]
|
||||
resource_name = "spawn"
|
||||
|
||||
[sub_resource type="Animation" id="Animation_w1utg"]
|
||||
length = 0.001
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_w1utg"]
|
||||
_data = {
|
||||
&"RESET": SubResource("Animation_w1utg"),
|
||||
&"destroy": SubResource("Animation_oinqg"),
|
||||
&"loop": SubResource("Animation_ynxlt"),
|
||||
&"loop": SubResource("Animation_o5h0y"),
|
||||
&"spawn": SubResource("Animation_kmogx")
|
||||
}
|
||||
|
||||
@@ -78,6 +147,8 @@ size = Vector2(113, 34)
|
||||
script = ExtResource("2_w1utg")
|
||||
penerate = 1.0
|
||||
lifeTime = 6000.0
|
||||
autoLoopAnimation = true
|
||||
recoil = 1.0
|
||||
|
||||
[node name="animator" parent="texture" index="0"]
|
||||
libraries = {
|
||||
@@ -86,18 +157,20 @@ libraries = {
|
||||
|
||||
[node name="anchor" type="Node2D" parent="texture" index="1"]
|
||||
|
||||
[node name="trail" type="GPUParticles2D" parent="texture/anchor" index="0"]
|
||||
position = Vector2(167, 0)
|
||||
scale = Vector2(1.4999999, 1.4999999)
|
||||
amount = 100
|
||||
process_material = SubResource("ParticleProcessMaterial_xrrxo")
|
||||
|
||||
[node name="texture" type="Sprite2D" parent="texture/anchor" index="1"]
|
||||
position = Vector2(151.3249, 0)
|
||||
[node name="texture" type="Sprite2D" parent="texture/anchor" index="0"]
|
||||
position = Vector2(150, 0)
|
||||
rotation = 0.7853982
|
||||
scale = Vector2(1.5, 1.5)
|
||||
texture = ExtResource("2_wwxm2")
|
||||
|
||||
[node name="trail" type="GPUParticles2D" parent="texture/anchor/texture" index="0"]
|
||||
z_index = -1
|
||||
position = Vector2(7.3893127, -7.3893127)
|
||||
rotation = -0.7853982
|
||||
scale = Vector2(0.9999999, 0.9999999)
|
||||
amount = 100
|
||||
process_material = SubResource("ParticleProcessMaterial_xrrxo")
|
||||
|
||||
[node name="hitbox" parent="." index="1"]
|
||||
position = Vector2(167.5, 0)
|
||||
shape = SubResource("RectangleShape2D_w1utg")
|
||||
|
||||
Reference in New Issue
Block a user