1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-30 16:01:53 +08:00

feat(相机系统): 添加相机震动效果

- 在CameraManager中实现相机震动功能
- 为BigLaser添加触发相机震动的逻辑
- 在World场景中配置震动偏移量参数
This commit is contained in:
2025-08-28 11:14:14 +08:00
parent 8de262a615
commit d42ef85507
4 changed files with 18 additions and 2 deletions
+2
View File
@@ -1,6 +1,8 @@
extends BulletBase
class_name BigLaser
func spawn():
CameraManager.shake(5000)
func ai():
rotation = lerp_angle(rotation, ((get_global_mouse_position() - position).angle()), 0.15)
position = launcher.texture.global_position