Skip to content

Burst fire for Actor AIs#589

Merged
luciusDXL merged 5 commits intoluciusDXL:masterfrom
jerethk:burstfire
Feb 10, 2026
Merged

Burst fire for Actor AIs#589
luciusDXL merged 5 commits intoluciusDXL:masterfrom
jerethk:burstfire

Conversation

@jerethk
Copy link
Contributor

@jerethk jerethk commented Feb 6, 2026

Enables JSON-defined logics to be given burst fire.
Burst number/variation and interval between shots are customisable.
A new struct is created in the AttackModule to hold the data

Vanilla enemies will behave as per usual.

Thanks to @kevinfoley who created a prototype burst fire some time ago -- I have followed his approach with a few modifications.
The AttackModule will remain in STATE_ATTACK1 until a burst is finished, counting down the shots with each iteration.
When the burst is finished it will be allowed to move on to its next state.

@luciusDXL luciusDXL merged commit fe2d97b into luciusDXL:master Feb 10, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants