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

Add laser sound effect and implement BigLaser bullet behavior

- Added laserbig.ogg sound effect import configuration.
- Created BigLaser script extending BulletBase with AI targeting and dot application functionality.
This commit is contained in:
2025-08-27 19:59:05 +08:00
parent 561e12398a
commit a688fe3b44
12 changed files with 102 additions and 13 deletions
+12
View File
@@ -0,0 +1,12 @@
extends BulletBase
class_name BigLaser
func ai():
rotation = (get_global_mouse_position() - position).angle()
position = launcher.texture.global_position
func applyDot():
hitbox.disabled = true
await TickTool.millseconds(50)
hitbox.disabled = false
await TickTool.millseconds(50)
return true