1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-05 19:27:15 +08:00

fix(子弹效果): 调整紫色水晶爆炸效果的方向和参数

修改紫色水晶爆炸效果的方向、扩散角度和初始速度,使其更符合预期效果。同时增加粒子数量,提升视觉效果。
This commit is contained in:
2025-09-06 16:55:09 +08:00
parent 73e34e07d2
commit 40732f2daf
2 changed files with 8 additions and 6 deletions
@@ -33,9 +33,9 @@ particle_flag_disable_z = true
angle_min = 1.07288e-05
angle_max = 360.0
angle_curve = SubResource("CurveTexture_fp3qe")
direction = Vector3(0, -1, 0)
spread = 180.0
initial_velocity_max = 150.0
direction = Vector3(-1, 0, 0)
spread = 75.0
initial_velocity_max = 100.0
gravity = Vector3(0, 0, 0)
scale_min = 3.0
scale_max = 8.0
@@ -81,8 +81,8 @@ _data = {
[node name="Explosion" instance=ExtResource("1_sqdwd")]
[node name="particles" parent="." index="0"]
amount = 20
[node name="particles" parent="." index="1"]
amount = 25
process_material = SubResource("ParticleProcessMaterial_w52ko")
lifetime = 0.5
+3 -1
View File
@@ -4,7 +4,9 @@ class_name PurpleCrystal
func ai():
PresetAIs.forward(self, rotation)
func destroy(_beacuseMap: bool):
EffectController.create(preload("res://components/Effects/PurpleCrystalExplosion.tscn"), global_position).shot()
var eff = EffectController.create(preload("res://components/Effects/PurpleCrystalExplosion.tscn"), global_position)
eff.rotation = rotation
eff.shot()
func split(index, total, _last):
BulletBase.generate(
preload("res://components/Bullets/PurpleCrystal.tscn"),