mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-02 09:21: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:
@@ -0,0 +1,10 @@
|
||||
extends BulletBase
|
||||
class_name FireScan
|
||||
|
||||
func _ready():
|
||||
fields[FieldStore.Bullet.SPEED] = 5
|
||||
fields[FieldStore.Bullet.DAMAGE] = 20
|
||||
super._ready()
|
||||
|
||||
func ai():
|
||||
forward(Vector2.from_angle(rotation))
|
||||
Reference in New Issue
Block a user