mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-16 08:32:29 +08:00
feat(子弹): 重构小鸡激光攻击并优化子弹行为
- 替换原有Laser为ChickLaser,实现更华丽的激光效果 - 调整FireScan子弹速度和伤害值 - 优化Diamond子弹追踪逻辑和持续时间 - 新增PresetsAI.lockLauncher方法用于固定子弹位置 - 调整Chick角色的攻击冷却时间和攻击距离判定
This commit is contained in:
@@ -18,42 +18,42 @@ shader_parameter/wave_amplitude = 0.5
|
||||
shader_parameter/wave_width = 0.5
|
||||
shader_parameter/edge_nonalpha = 0.6
|
||||
|
||||
[sub_resource type="Curve" id="Curve_m7ued"]
|
||||
[sub_resource type="Curve" id="Curve_itlbo"]
|
||||
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
||||
point_count = 2
|
||||
|
||||
[sub_resource type="CurveTexture" id="CurveTexture_iykvy"]
|
||||
curve = SubResource("Curve_m7ued")
|
||||
[sub_resource type="CurveTexture" id="CurveTexture_xathl"]
|
||||
curve = SubResource("Curve_itlbo")
|
||||
|
||||
[sub_resource type="Curve" id="Curve_7w1gn"]
|
||||
[sub_resource type="Curve" id="Curve_75ctq"]
|
||||
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
||||
point_count = 2
|
||||
|
||||
[sub_resource type="CurveTexture" id="CurveTexture_nimkb"]
|
||||
curve = SubResource("Curve_7w1gn")
|
||||
[sub_resource type="CurveTexture" id="CurveTexture_my7uy"]
|
||||
curve = SubResource("Curve_75ctq")
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_krx08"]
|
||||
offsets = PackedFloat32Array(0, 0.553435)
|
||||
[sub_resource type="Gradient" id="Gradient_62xhh"]
|
||||
offsets = PackedFloat32Array(0, 0.60687)
|
||||
colors = PackedColorArray(1, 1, 1, 1, 1, 0, 0, 1)
|
||||
|
||||
[sub_resource type="GradientTexture1D" id="GradientTexture1D_l66oc"]
|
||||
gradient = SubResource("Gradient_krx08")
|
||||
[sub_resource type="GradientTexture1D" id="GradientTexture1D_yix5j"]
|
||||
gradient = SubResource("Gradient_62xhh")
|
||||
|
||||
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_n3bsp"]
|
||||
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_m7jvq"]
|
||||
particle_flag_disable_z = true
|
||||
emission_shape = 3
|
||||
emission_box_extents = Vector3(0, 1000, 1)
|
||||
angle_min = 1.07288e-05
|
||||
angle_max = 360.0
|
||||
angle_curve = SubResource("CurveTexture_nimkb")
|
||||
angle_curve = SubResource("CurveTexture_my7uy")
|
||||
spread = 15.0
|
||||
initial_velocity_min = -500.0
|
||||
initial_velocity_max = 500.0
|
||||
gravity = Vector3(0, 0, 0)
|
||||
scale_min = 3.0
|
||||
scale_max = 15.0
|
||||
color_ramp = SubResource("GradientTexture1D_l66oc")
|
||||
alpha_curve = SubResource("CurveTexture_iykvy")
|
||||
color_ramp = SubResource("GradientTexture1D_yix5j")
|
||||
alpha_curve = SubResource("CurveTexture_xathl")
|
||||
|
||||
[sub_resource type="Animation" id="Animation_1rif1"]
|
||||
length = 0.001
|
||||
@@ -136,7 +136,7 @@ tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"handle_modes": PackedInt32Array(0, 0, 0, 0),
|
||||
"points": PackedFloat32Array(0, -0.25, 0, 0.25, 0, 50, -0.25, 0, 0.25, 0, 50, -0.25, 0, 0.25, 0, 0, -0.25, 0, 0.25, 0),
|
||||
"points": PackedFloat32Array(0, -0.25, 0, 0.25, 0, 25, -0.25, 0, 0.25, 0, 25, -0.25, 0, 0.25, 0, 0, -0.25, 0, 0.25, 0),
|
||||
"times": PackedFloat32Array(0, 0.5, 4.5, 5)
|
||||
}
|
||||
tracks/1/type = "bezier"
|
||||
@@ -216,15 +216,16 @@ sprite_frames = SubResource("SpriteFrames_yip5k")
|
||||
[node name="rect" type="ColorRect" parent="texture" index="0"]
|
||||
material = SubResource("ShaderMaterial_b2oy8")
|
||||
offset_left = 233.0
|
||||
offset_top = 50.0
|
||||
offset_right = 333.0
|
||||
offset_bottom = 2000.0
|
||||
offset_bottom = 2050.0
|
||||
rotation = -1.5708
|
||||
scale = Vector2(1e-05, 1)
|
||||
|
||||
[node name="particles" type="GPUParticles2D" parent="texture/rect" index="0"]
|
||||
position = Vector2(50, 1000)
|
||||
amount = 400
|
||||
process_material = SubResource("ParticleProcessMaterial_n3bsp")
|
||||
process_material = SubResource("ParticleProcessMaterial_m7jvq")
|
||||
lifetime = 0.25
|
||||
visibility_rect = Rect2(-100, -1000, 200, 2000)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user