the boss!

This commit is contained in:
Haze Weathers 2026-01-03 12:34:28 -06:00
parent 1e618d8cd4
commit abd45d7d64
14 changed files with 445 additions and 2 deletions

View file

@ -0,0 +1,19 @@
class_name DanmakuEmitter
extends Node2D
@export var spawn_parent: Node2D
@export var preset: BulletPreset
func spawn_preset() -> void:
var bullet_set = BulletSet.new()
bullet_set.preset = preset
bullet_set.global_position = global_position
bullet_set.global_rotation = global_rotation
spawn_parent.add_child(bullet_set)
func clear_bullets() -> void:
for child in spawn_parent.get_children():
child.queue_free()

View file

@ -0,0 +1 @@
uid://df8w64703kw0c