Home › Guides › Space Shooter Game Maker: Make a Shoot 'Em Up With AI

Space Shooter Game Maker: Make a Shoot 'Em Up With AI

Make a space shooter by describing it: phone and browser controls, enemy waves as data, bullet speeds, power-ups, a boss with phases and smooth play.

Updated December 2, 2026 · 1346 words · more on this topic

A space shooter comes down to five decisions: how the ship moves, how fast bullets travel compared with the ship, what each wave of enemies does, what a hit costs, and how the boss behaves. Put those in one paragraph, say phone or browser, and the agent builds a playable version in the emulator preview. After that you tune speeds, power-ups and effects one chat message at a time.

Phone or browser: settle the controls first

A shoot 'em up plays differently under a thumb than under a keyboard, so choose the device first.

On a phone: drag to move, fire automatically. A thumb cannot steer and press a fire button at once, so use auto-fire: the ship shoots for as long as a finger is on the glass, and the player only steers. Ask for relative drag, where the ship moves by the same amount as the finger from wherever the finger lands. If the ship jumps to the finger instead, every new touch throws it across the screen, and the thumb hides it.

In a browser: keys to move, a key to fire. Arrow keys or WASD move the ship and space shoots. Ask for dragging as a second control, because a browser game shared by link is often opened on a phone.

Two descriptions you can paste

For an Android game:

A vertical space shooter for phones. I drag anywhere to move my ship, and it fires by itself while my finger is down. Enemies arrive in waves from the top: first in straight lines, later weaving, later shooting back. Each kill is 10 points. I have three lives, and after a hit I cannot be hurt for two seconds. Every fifth wave is a boss with a health bar. The game ends when the lives run out. Show score, lives and wave at the top.

For a browser game:

A browser space shooter. Arrow keys or WASD move the ship and space fires. Dragging with a finger also works, with auto-fire. Enemies come in waves of eight and get faster each wave. Some drop a power-up: a spread shot or a shield, each lasting eight seconds. My health bar has five points. A bullet takes one, a crash takes two. Score is 10 per enemy. Add short tones made in code for shots and explosions, and a mute button.

Bullet speed against ship speed

A first version that feels wrong usually has a ratio wrong, not a rule. These starting values are in screen lengths.

WhatStarting value
Your ship, side to side with keysabout 1 second to cross the screen
Your bullet, bottom to top0.5 to 0.7 seconds
Your fire rate on auto-fire4 to 6 shots a second
Enemy bullet, top to bottom2.5 to 3 seconds
Your hit areaabout half the width of the ship

Three rules sit behind the table.

  1. Your bullets are the fastest thing on screen. If enemies outrun your shots, aiming turns into luck.
  2. Enemy bullets are slower than your ship. The player has to see a bullet, decide and move.
  3. The hit area is smaller than the drawing. A bullet that grazes a wing and does nothing feels like skill.

Typical corrections:

Enemy bullets are too fast to dodge. Make them take three seconds to cross the screen, and make my own bullets twice as fast as they are now.

I lose a life when a bullet touches the wing. Make my hit area a small circle in the middle of the ship.

Waves are a list, not code

A wave is one row of data: which enemy, how many, which path, how far apart, and how long to wait before the next row. That is why twenty more waves cost one message, and wave 7 can be fixed without touching the rest. The levels and difficulty guide uses the same idea.

Four paths cover most needs:

  • Column. Enemies fly straight down, one behind another.
  • Weave. They swing left and right on the way down, so they are harder to hit.
  • Wedge. A V shape that arrives together and rewards a spread shot.
  • Dive. An enemy enters, pauses, then flies at the spot where the player was.

Add one new thing per wave: a path, an enemy that shoots, an enemy that needs three hits. Leave about two seconds of quiet between waves.

Keep the waves as a list I can read: enemy type, count, path, spacing and delay. Add waves 11 to 20, each a little faster, with diving enemies from wave 12.

Power-ups: few, short, easy to lose

Start with three: a spread shot (three bullets in a fan), rapid fire (double the fire rate) and a shield (blocks one hit).

  • Drop one from about every tenth enemy.
  • Let it fall slowly, so collecting it means leaving a safe spot.
  • Make it last 8 to 10 seconds with a visible bar, or until the next hit.
  • Do not let effects stack without limit. A screen full of the player's own bullets plays itself.

Power-ups drop too often and I am never without the spread shot. Drop one from every twelfth enemy and show a small bar that shrinks while it is active.

Lives or a health bar

Choose by how many bullets are on screen, and use only one of the two at first.

Lives suit slow, sparse fire where every hit is an event. Give the ship two seconds of blinking invincibility after a hit, or one mistake becomes three.

A health bar suits denser fire, where the player will be clipped now and then. Small hits take small amounts, a crash takes more, and health pickups become possible.

A boss with phases

A boss is one enemy with a long health bar and a script. A phase is a change of behaviour when the health crosses a line. Three are plenty:

  1. Full to 66 percent. Slow side-to-side movement and single aimed shots.
  2. 66 to 33 percent. A fan of five bullets every two seconds, with gaps wider than the ship.
  3. The last third. Faster movement and one heavy attack that is announced by a warning line.

Pause for a second between phases so the change is noticed. A first boss fight should last 40 to 60 seconds. If it drags, cut the health, not the attacks.

Add a boss after wave 10 with three phases at 100, 66 and 33 percent health. Show a warning line for one second before its beam fires.

Screen shake and hit flash

Every hit needs an answer on screen.

  • Hit flash. The enemy turns white for under a tenth of a second when a bullet lands. It matters most for enemies that take several hits.
  • Screen shake. A few pixels for 0.15 to 0.3 seconds, when an enemy explodes or the player is hit. Shake on every bullet tires the eyes.
  • Sound and touch. A browser game can play short tones made in code. A mobile game answers with vibration, which you check on the phone.

Shake the screen only when I am hit or a boss explodes, not for every kill. Add a setting to turn the shake off.

Keep the object count low

Every shot and spark must be moved and drawn many times a second, and a shooter makes a lot of them.

  • Remove bullets and enemies the moment they leave the screen.
  • Cap the totals: about 60 enemy bullets, 30 of your own and a dozen enemies.
  • Prefer fewer, larger, slower bullets to a cloud of tiny ones.

A slowdown that grows over time usually means objects are created and never removed. Say when it happens:

The game gets choppy around wave 8. Remove bullets and enemies as soon as they leave the screen, and limit each explosion to eight sparks.

Once it runs well, add a leaderboard or swap the shapes for your own ship and enemy pictures.

Start with one wave

Paste one of the two descriptions into the builder, play five runs, and fix the speed ratios before you add anything else.

Frequently asked

Can I make a space shooter without coding?

Yes. You describe the ship, the enemies, what a hit costs and how the game is controlled, and the AI agent writes the game. You play it in the emulator preview and change it with chat messages.

Should a space shooter be a mobile game or a browser game?

Both work, because the genre is 2D. Pick a mobile game for an Android app steered with one thumb and auto-fire. Pick a browser game for keyboard play on a laptop and for short sound effects made in code.

How fast should enemy bullets be?

Slower than the player's ship. A good start is an enemy bullet that needs about three seconds to cross the screen while the ship crosses it in about one. The player must be able to see a bullet, decide and move.

Why does my shooter slow down after a few waves?

Usually because bullets, enemies and sparks that left the screen are never removed. Ask the agent to remove everything that goes off screen and to cap the number of bullets and particles.

How many phases should a boss have?

Three is enough for a first boss: one phase that teaches the fight, one that adds a wider attack and a final one that speeds up. Change phase at fixed points of the health bar, such as 66 and 33 percent.

Build it now — free to start

Type the idea, sign in, and the agent builds it in your browser. Change anything by describing it.

Open the builder ›