# How to make a racing game, step by step

Source: https://roam.gg/make/how-to-make-a-racing-game/. Checked November 5, 2026. Roam is our app, and the Roam team wrote this page.

A racing game takes the same five steps in any tool: a car that drives, a track, checkpoints that count laps, rivals and a finish screen. Start with simple arcade handling, not real car physics. Here is how each step looks in Scratch, Roblox Studio and Unity.

## How to make a car game in Scratch

Scratch is free and made for young people. A top-down racer is a good first project.

- **1. Draw the track**: Paint a backdrop: grey road, green grass, and a finish line in a color used nowhere else.
- **2. Make the car drive**: Give the car sprite a speed variable. The up arrow changes speed by 0.5, a forever loop sets speed to speed x 0.95 so it coasts, and the car moves speed steps. Left and right arrows turn it a few degrees.
- **3. Slow it on the grass**: If the car is touching green, multiply speed by a smaller number. Now cutting corners costs time.
- **4. Count laps**: Put a checkpoint color halfway round. A lap only counts when the car touches the checkpoint and then the finish line.
- **5. Time it**: Reset the timer at the start and show it when the last lap is done. Beating your best time is the game.

## How to make a racing game on Roblox

Roblox Studio is free on Windows and Mac. Pick the Racing template on the start screen: it comes with a working race car and modular track pieces you can rearrange into new layouts. Change the track, tune the car, and test with a local server so a friend's car is on the grid too. Classic Racing, a simpler template with checkpoints, is still on the templates list.

Scripts are in Luau. Most custom racers add a lap counter on each checkpoint part and a leaderboard for best times.


## How to make a racing game in Unity

The Karting Microgame is a ready 3D kart racer you open from Unity Hub, with a Unity Learn course to change the karts and the track. For cars built from scratch, Unity's Wheel Collider handles grip and suspension.

Rivals follow a line of waypoints around the track, with a little random error so they feel human. Many games quietly help cars that fall behind, so the race stays close. Keep the camera calm and a little behind the car, so nobody gets dizzy.


## No code: describe the race to Roam

Roam is an app where you describe a game and it comes back playable. Name the cars, the track and the rule that makes it yours, then fix it by talking: "more grip", "camera a bit higher". Friends can be on the grid. Roam is rated 13+ on the App Store. For more routes, see the [racing game maker guide](https://roam.gg/make/racing-game-maker/).


## Play it on Roam

- [Mob Kart Mayhem](https://roam.gg/play/mob-kart-mayhem/): Meadow Cup, race 1 of 4. Drift, grab a box, get on the podium.
- [Sunset Mile](https://roam.gg/play/sunset-mile/): Red convertible, coast road, 38 seconds on the clock.
- [Sideways After Dark](https://roam.gg/play/sideways-after-dark/): The city sleeps. You slide.

## Race your friends with Roam

Describe the track, the cars and the items. Play it, then ask for more laps or a harder track.

Try: "kart race through a giant kitchen, banana peel traps, the last place gets a frying pan, 4 friends"

[Get Roam on the App Store](https://apps.apple.com/app/apple-store/id6745489251?pt=126889634&mt=8&ct=gg-how-to-make-a-racing-game)

## Questions people ask

**Can a 12 year old make a racing game?**
Yes. A top-down car game in Scratch takes the steps above and no prior coding. Roam is rated 13+ on the App Store, so a younger kid would use Scratch instead.

**How do racing games stop shortcuts?**
With checkpoints in order. A lap only counts after the car passes every one, and the last checkpoint is where a car respawns.

**How do you make a racing game with paper?**
Play Racetrack: draw a track on grid paper and move your car point to point. Each turn you can change your last move by one square in each direction, so speeding into a corner sends you off the road.

**Do you need real physics for a racing game?**
No. Arcade handling is easier to tune and more fun. Add drift and boost before suspension and tire models.

## Sources

- Scratch is free for everyone and made for kids and young people: https://www.scratchfoundation.org/
- Scratch car game steps: design the car, the road, obstacles and an end screen: https://www.instructables.com/Make-a-Car-Game/
- Roblox Racing template: a working race car and modular tracks; Classic Racing has checkpoints: https://create.roblox.com/docs/resources/templates
- Roblox Studio is a free application available on Windows and Mac: https://create.roblox.com/docs/studio/setup
- Unity's Karting Microgame is a 3D kart racer template with a Unity Learn course: https://learn.unity.com/course/karting-microgame
- Unity's Wheel Collider handles wheel grip and suspension: https://docs.unity3d.com/Manual/class-WheelCollider.html
- Racetrack is a pencil-and-paper racing game played on squared paper: https://en.wikipedia.org/wiki/Racetrack_(game)
- Mob Kart Mayhem on Roam: https://roam.gg/play/mob-kart-mayhem/
- Sunset Mile on Roam: https://roam.gg/play/sunset-mile/

Product names belong to their owners. Roam is not affiliated with them.

## About Roam

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. https://roam.gg
