Bullet patterns for shmups and boss fights
Bullet hell games, twin-stick shooters and boss fights live on patterns: rings that pulse, spirals that turn, fans aimed at the player. This tool lets you build such a pattern from a few numbers and watch it run at once. Steer the small ship with the pointer to feel how hard the pattern is to dodge, then take the numbers into your game.
How a pattern is built
A pattern has one or more emitters. Each emitter fires a shot every interval. A shot has arms, spaced evenly around a circle, and each arm fires a row of bullets spread over an angle. A spread of 360 degrees makes a ring. Spin turns the emitter at a steady rate, so one bullet per shot becomes a spiral. Swing turns it back and forth, which makes a sweep. Bursts fire a number of shots and then rest. Bullets can speed up or slow down, curve to one side, and differ in speed along the row, which makes whips and walls with gaps.
Fourteen patterns to start from
Ring pulse, Spiral, Twin spiral, Flower, Aimed fan, Sweep, Spray, Whip, Galaxy, Cross, Wall and snipe, Curl, Seekers and Two phases. Pick one, then change the sliders. Add a second emitter for a pattern in two colours, such as a slow wall with fast aimed shots between.
Phases and homing bullets
Start delay and Stop after give every emitter a window of time in which it fires. Pattern loop restarts all those windows every so many seconds. Together they make phases: one emitter fires a spiral for four seconds, the next fires aimed fans for four seconds, and then it starts over. Homing lets a bullet turn towards the player for its first moments, by a number of degrees per second, and then fly straight. A low value makes bullets that lean after you; a high value makes seekers you have to lead around.
Reading the numbers under the field
Bullets on screen and bullets fired per second tell you how heavy the pattern is for the player and for your game's frame rate. Hits counts how often the ship's small hit point touched a bullet since the last restart. It is a rough feel for difficulty, not a balance rule.
Using the pattern in your game
The JSON file holds every emitter with all its values and a note on what each value means, so you can read it in any engine. The Godot 4 script is a working emitter: add it to a Node2D where the boss is, set its target to the player, and it fires and draws the same pattern. It moves bullets in fixed steps of one sixtieth of a second, the same as the preview. Call hits with the player's position to check for a hit. Patterns with scatter use random numbers, so those bullets will not land in the very same spots as in the preview.
Limits
Homing only lasts for the set time and bullets do not home again later. There are no lasers and no bullets that split. Phases switch emitters on and off; a single emitter cannot change its own values over time. The Godot script draws bullets as plain circles with draw calls, which is fine for hundreds of bullets; for thousands you would move the drawing to a MultiMesh. There is no ready script for Unity or GameMaker, only the JSON.
Can I use the patterns commercially?
Yes. The patterns and the script you download are yours to use in free and commercial games, and you do not need to credit us.