Roam

How to make a fighting game, step by step

Start with one fighter who can walk, jump and throw three attacks. Then add the rules for what happens when attacks meet: hitboxes, frame data, blocking and hitstun. Online play comes last, because fighting games need rollback netcode to feel fair.

How to make a fighting game in 7 steps

Netcode: why fighting games use rollback

Online, the other player's inputs take time to arrive. Delay-based netcode waits for them, so every press feels late on a bad connection. Rollback netcode runs the game right away with a guess of the other player's input, then rewinds and replays the frames it got wrong.

GGPO, the best-known rollback library, has been free under the MIT license since October 2019. Whatever you use, build the game so the full match state can be saved and restored every frame, or rollback will be hard to add later.

How to make a battle game in Scratch

Scratch is a good place to learn the rules above. Make two sprites with costumes for idle, punch and block. Player 1 uses WASD and player 2 the arrow keys. When a punch costume is showing, check if it is touching the other sprite and lower that player's health variable. Scratch is designed mainly for ages 8 to 16. Roam is rated 13+ on the App Store.

Skip the engine: a duel on Roam

Roam builds the fighter from a description: arena, fighters, moves, art and sound. You tune it by talking, like "make the heavy attack slower" or "add a block button". To feel good timing first, play Split Second, a 1v1 sword duel against the game's fighter, or STREET BRAWL, a side-scrolling beat-'em-up.

Play it on Roam

Create your fighting game with Roam

Pick two fighters and one arena. Play the first version, then change the moves until the rematch feels fair.

Try: "1v1 sword duel on a rooftop at night, light and heavy attack, block button, best of three, my friend is the other fighter"

Roam ("Roam - Make Games" on the App Store) is an iPhone app where you play games and make your own by describing them or from a photo. It is free to download and play, and making games works without a subscription; optional Spark and Reality plans and credit packs add more creation. Android: pre-register on Google Play.

Questions people ask

Is it hard to make a fighting game?

One fighter with three moves is a fine first project. The hard parts are balance, animation and online play, since every move needs hitbox and frame work.

What is frame data in fighting games?

The number of frames a move spends in startup, active and recovery. It decides which moves are fast, which are safe and which combos work.

How do you make a battle game in Scratch?

Two sprites, separate keys for each player, a health variable for each, and a touching check while a punch costume is shown. Add a block costume that ignores hits.

Can a 12-year-old make a fighting game?

Scratch is made for that age and has many fighting game remixes to learn from. Roam is rated 13+ on the App Store, so it is for teens and adults.

Sources, checked November 5, 2026

Keep exploring

Download on the App StorePre-register on Google Play