Case Study · Game

Doodle Dash — an endless runner drawn like a sketchbook

A fast, forgiving one-button runner with a hand-drawn look. Pick a character, jump, dash through danger, stomp enemies, grab power-ups and chase your best score. It runs on a custom canvas engine with no image or audio files, and it is built for phones as well as keyboards.

Project
Endless runner game
Scope
Game design · Canvas engine · UI
Stack
React 18 · HTML5 Canvas · WebAudio
Status
Playable, deployed on Vercel
Doodle Dash title with gameplay on a browser and a phone, on a blue grid-paper background
Try It Live

Take a run

The full game, right here on the page.

Pick a character with 1, 2 or 3. Press Space or tap to jump (hold for a higher hop), Shift or the Dash button to burst through danger, P to pause and M to mute. On a phone, open it full screen and turn your phone sideways. Your best score is saved in this browser.

doodle-dash · live demo
The Brief

Easy to start, hard to put down

Make a runner that feels fair, looks like nothing else on the shelf, and loads instantly.

Doodle Dash is built around one idea: a game that looks hand-drawn and plays tight. The world is a sketchbook page with ink outlines and a hard offset shadow, and every sprite, cloud and hill is drawn in code, so there are no image or audio files to download.

The challenge was feel. Jumps need to respond the moment a finger lands, forgive a late press at a ledge, and reward a long hold. Underneath the doodles sits a fixed-step physics loop tuned for exactly that.

Draw it like a notebook. Make it play like an arcade.
What We Built

Moves, hazards and rewards

01

Variable-height jump

Tap for a hop, hold for a leap. Releasing early cuts the jump short, so players control height with their thumb.

02

Invincible dash

A short burst that flattens enemies and clears small gaps. It recharges in about three seconds, with a meter always on screen.

03

Stomps and combos

Land on a bat or slug to squash it for 100 points. Chain stomps in one jump for 200, 300 and more.

04

Four power-ups

Shield absorbs a hit, Wings give a second mid-air jump for 12 seconds, Magnet pulls coins in for 10 and Bolt recharges the dash instantly. Timed ones show a countdown pill.

05

Speed that builds

The run starts gently and accelerates toward a cap, so early seconds teach the controls and later ones test them.

06

Three characters

Blobby with a red scarf, Whisk the cat and Boxy the robot, each drawn in code with its own trailing detail. They play the same, so the choice is cosmetic, and it is remembered along with your best score.

The Product

Inside Doodle Dash

Five views, one sketchbook look.

Captured from the running game. Select any image to view it full size, or play it on Vercel →

Design Thinking

Decisions that mattered

Forgive the near miss

A short coyote-time window lets a jump still register just after leaving a ledge, and a jump buffer remembers a press made just before landing. Players feel skilled, not cheated.

Fixed-step physics

The simulation advances in steady 1/120 second steps regardless of the display refresh rate, so the game plays the same on a 60 Hz phone and a 144 Hz monitor.

Draw everything in code

Characters, clouds, hills and the grid paper are canvas paths and gradients. The game needs no sprite sheets, which keeps it tiny and sharp at any screen size.

Sound without files

Jumps, coins and bonks are synthesised with WebAudio, and a mute key sits one press away.

Built for thumbs

Held sideways on a phone, the game takes over the whole screen like an app. Players choose between split-screen taps (right half jumps, left half dashes) and tap-anywhere with a Dash button or a swipe. Held upright, a friendly prompt asks them to rotate.

Let React own the menus

The engine owns the canvas, while React handles the menu, pause and game over cards and the field guide, so the interface stays easy to change without touching the game loop.

120Hz
Fixed physics
step rate
4
Power-ups: shield, wings,
magnet and bolt
0
Image or audio
files loaded
3
Characters to
choose from
Where It Stands

A finished, playable prototype

The core loop is complete and live on the web.

In place: the engine, jump and dash mechanics, enemies and saws, coins, four power-ups, three characters, scoring, pause, mute, a saved best score, two touch control schemes and a full-screen landscape mode for phones.

Next: new obstacle sets, more characters, an online leaderboard and a daily challenge.

Play on Vercel →

Under the Hood

Design & stack

Engine
HTML5 CanvasJavaScriptFixed-step loopA custom Game class handles physics, collisions, spawning, difficulty and rendering.
Interface
React 18Touch & fullscreenMenu, character picker, pause and game over overlays, touch controls and the field guide, as React components over the canvas.
Audio
WebAudioSound effects are generated at runtime, so there are no audio assets.
Design
Caveat BrushPatrick HandGrid-paper paletteHand-lettered fonts, ink outlines and a hard offset shadow give the sketchbook feel.
Hosting
VercelDeployed as a static site, with a copy embedded on this page.

Want something like this for your business?

Tell us a little about your idea. We will tell you honestly what it would take, how long it would take and what it would cost.

  • Free discovery call
  • Reply within 24 hours
  • First working version in 72 hours

Want a game with its own look and feel?

Browser games, from casual runners to 3D racers, are something we love building. Tell us your idea and we’ll scope it.

Play the Game ↗ Start a Conversation