CASE STUDY

StickFight: Notebook Duel

A lightweight, zero-dependency 2D sword fighting game drawn on ruled notebook paper with procedural stickman animation and tight combat hitboxes.

StickFight: a blue and a red stickman clash swords on lined notebook paper
ClientIn-house
RoleGame design, Programming, Animation
ToolsJavaScript, Canvas 2D, Web Audio API
Time3 weeks

The idea

We wanted to capture the martial arts duels kids sketch in the margins of school notebooks during boring lectures. Two stick figures, drawn in ballpoint ink, clashing swords across ruled blue paper.

Instead of heavy sprite sheets or canned video clips, we committed to zero image assets. Everything you see on screen is calculated and drawn live in code.

What we built

A 10-page progression ladder culminating in a fight against the towering Ink Titan. We engineered a full fighting system with light attacks, heavy overhead strikes, directional jumps, blocks, and frame-critical parries.

The fighters use procedural 2D joint skeletons rather than traditional frames. An authentic 12 FPS “line boiling” effect gives strokes living, hand-drawn ink jitter, while the physics loop underneath runs at 60 FPS for responsive combat timing.

The hard part

Geometric blade-to-hurtbox collision detection in pure 2D Canvas. We check line segments against joint circle colliders each tick to prevent attacks from clipping through fast swings.

Tuning the parry window required careful frame timing. Defending just before a blade lands triggers a 0.15-second hitstop that freezes both fighters in place, plays a metallic clash via the Web Audio API, and staggers the attacker for a counter-strike.

Result

An instant-loading browser fighting game weighing just 1.2 MB total. It supports full desktop keyboard combos as well as dedicated touch zones with haptic vibration on mobile devices.

Experience the game live

Play directly in your browser with zero installs or sign-ups.

HIRE THE STUDIO

Need a game built? We can do all of it.

Concept, 3D models, levels, code, polish and launch. We build games tailored for browsers and beyond.