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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user