1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-31 00:11:54 +08:00

feat(特效): 为BigLaser添加动画效果并调整参数

- 在BigLaser生成时播放"bigLaser"动画
- 增加激光的尺寸和碰撞范围
- 添加BigLaser粒子效果场景
- 调整Wave生成参数
- 在CameraManager中添加动画播放功能
This commit is contained in:
2025-08-28 12:00:09 +08:00
parent 0c1ce5b4e2
commit 19a484643d
8 changed files with 220 additions and 9 deletions
+1
View File
@@ -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
+2 -2
View File
@@ -11,8 +11,8 @@ var per: int = 0
static var current: int = 0
static var data: Array[Wave] = [
# entity, minCount, maxCount, isBoss, from, to, per
create(preload("res://components/Characters/Hen.tscn"), 1, 5, false, 0, INF, 1),
create(preload("res://components/Characters/Chick.tscn"), 0, 0, true, 1, INF, 4)
create(preload("res://components/Characters/Hen.tscn"), 1, 5, false, 8, INF, 1),
create(preload("res://components/Characters/Chick.tscn"), 0, 0, true, 0, INF, 1)
]
static func create(