Prince of Persia Special Edition
Prince of Persia: Special Edition is the browser release of Jordan Mechner's 1989 cinematic platformer. Run, leap and climb through the Sultan's dungeons beneath a strict time limit, negotiating spike pits, collapsing floors and sword duels with guards to reach the princess in time.
Prince of Persia Special Edition is a small browser tie in rather than a full game: eighteen rooms, a single sword pickup and three episode scores. The build is under half a megabyte and its structure is unusually visible, which makes it easy to say exactly what it contains.
The build is a single small SWF with a sweepstakes link and an email form inside it, which places it as a marketing piece for the Prince of Persia release rather than a standalone game. That context explains the size: eighteen rooms, one sword and three episode totals rather than a full campaign.
Nothing about the structure is hidden. The rooms are named Room1 through Room18, the scores are named for each episode, and the music is split into title, intro, boss and ending cues. A promotional build with four music cues has an ending, which is why the build carries an ending cue at all.
The build also includes an entry screen called Level1Loading, which is the loading screen for the first room rather than a menu.
Progress is counted in rooms rather than in levels. Eighteen room classes exist, and each one is loaded as a scene rather than streamed inside a larger map. That is the older Prince of Persia structure: a screen is a puzzle, and moving to the next screen is the reward.
| Element | Count or role |
|---|---|
| Room1 to Room18 | The playable screens |
| Level1Loading | The first room loading screen |
| Level_Start_Chime | The cue played when a room begins |
| EndLevel | The end of level handler |
Because each room is its own class, the build can give a room its own geometry and hazards without a level editor. It also means the sequence is fixed: there is no branching map in the readable structure, only a numbered run.
The animation names are the movement list: Stand Left, Stand Right, Duck Left, Duck Right, Run Left, Run Right, plus separate jump families for jumping from a stand and jumping out of a run. Left and right are separate animations rather than a mirrored sprite, which is how the original games were built.
The build also names a missed jump, which is the state after a failed leap rather than a death. That distinction matters: a missed jump in Prince of Persia is usually a fall, not a game over, and the animation exists so the failure reads before the consequence lands.
| State | Meaning |
|---|---|
| Stand Left / Right | Idle facing each way |
| Run Left / Right | Running, with a start transition |
| RunJumping | A jump taken out of a run |
| StandJumping | A jump taken from standing |
| Duck Left / Right | Crouched, facing each way |
| MissedJump | The failed leap state |
The build carries a has sword flag and a sword pickup, and no second weapon. That single flag is the spine of the short campaign: the rooms before the pickup can be solved without fighting, and the rooms after it expect you to fight. An enemy object exists alongside the flag, so combat is gated by possession rather than by a tutorial.
Gates are a separate object with their own state, which is why a room can be locked without a door animation. Combined with the single sword, the readable design is a short sequence of locked rooms, one weapon and a boss at the end, which is exactly what the boss music cue implies.
The hazard list is short: spikes, a potion pickup and death states. A potion in a Prince of Persia build is a life restore rather than a damage item, which is why it sits with the pickups rather than with the traps. The death handler is separate from the missed jump state, so a fall and a spike can resolve differently.
A gate and a spike in the same room is the classic combination: the gate slows you down and the spike punishes the delay. Because both are objects rather than tiles, a room can place them independently of its floor plan, and the room class can tune the spacing without new art.
Scoring is split by episode: TotalEp1Score, TotalEp2Score and TotalEp3Score, with a running TotalScore on top. That structure confirms three episodes inside eighteen rooms, which is six rooms per episode on average. The build does not label which room starts an episode, so the split is not quotable beyond the count.
What the build does not contain is the balance. Room layouts are scene data, the sword damage and enemy health are compiled values, and the time bonus behind each episode score is not declared as a constant. The readable facts are the eighteen rooms, the animation set, the single sword gate and the three episode totals.
One further detail is worth flagging for anyone comparing versions: this build carries the sweepstakes and email form, so it is the promotional edition. A later release without that form would have the same rooms and a different shell.
Eighteen, named Room1 to Room18. Each room is loaded as its own scene.
No. It is a short promotional build with eighteen rooms, one sword and a sweepstakes entry form inside it.
Three. The build keeps a separate total score for episode one, two and three.
One sword. A has sword flag gates combat, and the build contains no second weapon.
Spikes, gates, missed jumps and death states, plus a potion pickup that restores life.
No. Standing, running and ducking each have a left and a right animation, the way the original games were built.
The build has a dedicated boss music cue and an ending cue, which places a final encounter before the end sequence.











