mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-07 12:17:12 +08:00
feat(子弹): 添加紫色水晶子弹的爆炸效果和销毁逻辑
refactor(子弹基类): 重构销毁逻辑防止重复调用 fix(敌人): 调整小鸡boss的出现波次和激光音效 style(场景文件): 整理动画资源顺序
This commit is contained in:
+21
-20
@@ -1,6 +1,6 @@
|
||||
[gd_scene load_steps=14 format=3 uid="uid://dn0iwwnq3n8e2"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://bcvuuy2m0pke0" path="res://components/Abstracts/EffectBase.tscn" id="1_1mab3"]
|
||||
[ext_resource type="PackedScene" uid="uid://bcvuuy2m0pke0" path="res://components/Abstracts/EffectBase.tscn" id="1_sqdwd"]
|
||||
|
||||
[sub_resource type="Curve" id="Curve_jf41v"]
|
||||
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
||||
@@ -17,7 +17,7 @@ point_count = 2
|
||||
curve = SubResource("Curve_cxxkf")
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_v1v0w"]
|
||||
colors = PackedColorArray(1, 0, 0, 1, 1, 0.796875, 0, 1)
|
||||
colors = PackedColorArray(0.3125, 0, 1, 1, 1, 0, 0.867188, 1)
|
||||
|
||||
[sub_resource type="GradientTexture1D" id="GradientTexture1D_7jhwh"]
|
||||
gradient = SubResource("Gradient_v1v0w")
|
||||
@@ -35,14 +35,28 @@ angle_max = 360.0
|
||||
angle_curve = SubResource("CurveTexture_fp3qe")
|
||||
direction = Vector3(0, -1, 0)
|
||||
spread = 180.0
|
||||
initial_velocity_max = 200.0
|
||||
gravity = Vector3(0, 300, 0)
|
||||
initial_velocity_max = 150.0
|
||||
gravity = Vector3(0, 0, 0)
|
||||
scale_min = 3.0
|
||||
scale_max = 8.0
|
||||
color_ramp = SubResource("GradientTexture1D_30y3h")
|
||||
color_initial_ramp = SubResource("GradientTexture1D_7jhwh")
|
||||
alpha_curve = SubResource("CurveTexture_8rfho")
|
||||
|
||||
[sub_resource type="Animation" id="Animation_rcc6g"]
|
||||
length = 0.001
|
||||
tracks/0/type = "bezier"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath(".:material:shader_parameter/explosion_radius")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"handle_modes": PackedInt32Array(0),
|
||||
"points": PackedFloat32Array(0, -0.25, 0, 0.25, 0),
|
||||
"times": PackedFloat32Array(0)
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_pa4et"]
|
||||
resource_name = "explosion"
|
||||
length = 2.0
|
||||
@@ -59,31 +73,18 @@ tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 1, 2)
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_rcc6g"]
|
||||
length = 0.001
|
||||
tracks/0/type = "bezier"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath(".:material:shader_parameter/explosion_radius")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"handle_modes": PackedInt32Array(0),
|
||||
"points": PackedFloat32Array(0, -0.25, 0, 0.25, 0),
|
||||
"times": PackedFloat32Array(0)
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_n7i5u"]
|
||||
_data = {
|
||||
"RESET": SubResource("Animation_rcc6g"),
|
||||
"explosion": SubResource("Animation_pa4et")
|
||||
}
|
||||
|
||||
[node name="Explosion" instance=ExtResource("1_1mab3")]
|
||||
[node name="Explosion" instance=ExtResource("1_sqdwd")]
|
||||
|
||||
[node name="particles" parent="." index="0"]
|
||||
amount = 200
|
||||
amount = 20
|
||||
process_material = SubResource("ParticleProcessMaterial_w52ko")
|
||||
lifetime = 0.5
|
||||
|
||||
[node name="animator" parent="stage" index="0"]
|
||||
libraries = {
|
||||
Reference in New Issue
Block a user