RC RANDOM CHAOS

How Jordan Mechner squeezed Prince of Persia into 48K and defined a genre

· via Hacker News

Original source

How we made hit video game Prince of Persia

Hacker News →

Jordan Mechner, who broke into games by mailing floppy disks to publisher Broderbund from his Yale dorm, spent four years building Prince of Persia (1989) under constraints that would be unthinkable now. With no animation software available, he videotaped his brother running and jumping in a parking lot, photographed individual frames, had the film developed, and retouched each image into two-tone black and white by hand — a months-long process to achieve the fluid rotoscoped motion that became the game’s signature. The hero’s swordplay was later traced from a six-second Errol Flynn duel in 1938’s The Adventures of Robin Hood.

The game’s most memorable feature was born from a hardware ceiling. Mechner’s animation had exhausted the Apple II’s 48K of memory, leaving no room for the combat his colleague (and girlfriend) Tomi Pierce insisted the game needed. His workaround, a byte-shifting trick, generated a polarised ‘dark’ copy of the hero at zero memory cost: the Shadowman, an antagonist who steals potions and slams gates. That hack motivated a broader rewrite that freed enough memory for sword fights and extra guards. The Apple II was nearly dead at launch, but strong European and Japanese sales on other platforms earned a US PC rerelease — a second chance Mechner notes wouldn’t exist today — and the game eventually sold over two million copies.

Publisher Doug Carlston credits Mechner’s rare willingness to polish the final, tedious 10% of development, and frames the game as an early signal of film and software converging: animation was Hollywood’s craft, and Prince of Persia imported it into games much as Pixar grew out of graphics tooling for Lucasfilm. Mechner sees the game’s action-adventure template as the direct ancestor of Tomb Raider and Uncharted — and, after his costly flop The Last Express, the franchise’s Sands of Time film adaptation rescued his own career.

Read the full article

Continue reading at Hacker News →

This is an AI-generated summary. Read the original for the full story.