mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-30 07:51:54 +08:00
feat(特效): 为BigLaser添加动画效果并调整参数
- 在BigLaser生成时播放"bigLaser"动画 - 增加激光的尺寸和碰撞范围 - 添加BigLaser粒子效果场景 - 调整Wave生成参数 - 在CameraManager中添加动画播放功能
This commit is contained in:
@@ -3,6 +3,7 @@ class_name BigLaser
|
||||
|
||||
func spawn():
|
||||
CameraManager.shake(5000)
|
||||
CameraManager.playAnimation("bigLaser")
|
||||
func ai():
|
||||
rotation = lerp_angle(rotation, ((get_global_mouse_position() - position).angle()), 0.1)
|
||||
position = launcher.texture.global_position
|
||||
|
||||
Reference in New Issue
Block a user