All Opus 5.5 videos › Games

Prince of Persia-style browser level with combat and sound

by Ian Nuttall (@iannuttall) · Sep 23, 2026

Prompt

The author shared the full prompt.

Using only a self-contained HTML file, vanilla JavaScript and Canvas 2D, I want you to recreate the original Prince of Persia game. The level doesn't have to be the same, but the aesthetics, the design, the character, the jumping animations and gameplay do need to be identical to the original game.

I should be able to jump, use floor pads that you can stand on to open and activate gates. I should be able to pick up a sword and fight against NPCs, and make the level as realistic and accurate as possible.

It should take me maybe a couple of minutes to complete a level just using WASD, spacebar to jump, X to pick up an object and whatever keys you think to use the sword.

Focus on the level aesthetics, the background, the flickering of the lamps on the wall, the gates that open and close and really nail that original Prince of Persia aesthetic.
Prompt by @iannuttall, from their reply
Category
Games
Stack
Canvas
Opus effort
high
From the author
35 minutes, 1% usage, Max 20x plan
On X
194 likes · 17K views · 96 saves

More games

GamesPrompt0:23

Playable Minecraft-style browser game with advanced shaders

@noahwachnik♥ 5.3K
GLSL
GamesPrompt1:02

3D computer simulation with logic gates, OS, and a running game

@mattshumer_♥ 1.8K
GamesPart of prompt0:56

Fully interactive cyberpunk 3D world with nightclub, bar, and dancing NPCs

@Ainthropos♥ 1.8K
Three.js
GamesPart of prompt2:08

First-person three.js game scene polish and lighting pass

@maxt3chno♥ 1.7K
Three.js
GamesPrompt2:01

Battlefield 1942 demo ported to the web with multiplayer

@levelsio♥ 1.6K
WebGL
GamesPrompt0:08

Arcane tarot card skill animation for an anime battlegrounds game

@RoqerDev♥ 1.5K
Blender
GamesPart of prompt2:41

Browser 3D open-world tropical island shooter

@maxt3chno♥ 1.3K
Three.jsWebGL
GamesPrompt0:18

Single-file HTML game reward animation with 3D chests and effects

@op7418♥ 1.2K
Three.jsWeb AudioCanvas