mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 06:51:54 +08:00
Add audio effect and implement FireScan bullet behavior
- Added Rip.wav audio effect to the project. - Created FireScan bullet script with speed and damage properties. - Implemented basic AI movement for FireScan bullets. - Introduced Wave class for managing enemy waves with dynamic counts and spawning logic.
This commit is contained in:
@@ -22,5 +22,5 @@ static func create(spawnDamage: float, spawnCrit: bool, spawnPosition: Vector2,
|
||||
instance.crit = spawnCrit
|
||||
instance.position = spawnPosition
|
||||
if addToWorld:
|
||||
WorldTool.rootNode.add_child(instance)
|
||||
WorldManager.rootNode.add_child(instance)
|
||||
return instance
|
||||
|
||||
Reference in New Issue
Block a user