bulletPatternsKit.package
README.md
bulletPatternsKit.Emitter
A no-code bullet hell turret. Put it on any entity (a boss, a turret prop, an empty marker) and,
while the game runs, it fires a catalog pattern from the entity every every seconds, turning the
aim by rotate radians each volley. It needs no sibling components.
entity(id).component.add("Emitter", { pattern = "spiral", every = 0.08, rotate = 0.12, look = "bpNeedleCyan" })
Fields
pattern: aimed, spread, ring, spiral, doubleSpiral, flower, wave, shotgun, cross, wall, burstRing, sunburst.every(s),volleys(0 = forever),speedandcount(0 = the pattern's default),rotate(rad/volley).angleDeg(base aim, 0 = +X, 90 = +Z) oraimAtPlayer(nearest entity oftargetSet).look,size,range(m),height(m above the entity's origin).hit(handler name registered withBP.onHit),targetSet(defaultlocalPlayers).synced: fire withBP.fireSyncedso every peer sees the same volley; only the host runs it then.active: pause/resume.
Changing a field while it runs restarts it with the new settings.
Methods
restart(): start again from the first volley.fired(): volleys since it last started.