Prince of Persia-style browser level with combat and sound
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
Playable Minecraft-style browser game with advanced shaders
@noahwachnik♥ 5.3K
3D computer simulation with logic gates, OS, and a running game
@mattshumer_♥ 1.8K
First-person three.js game scene polish and lighting pass
@maxt3chno♥ 1.6K
Single-file HTML game reward animation with 3D chests and effects
@op7418♥ 1.2K
Roblox Minecraft-style game prototype built overnight
@albie_io♥ 1K
Interactive 3D gummy octopus you can grab and stretch
@vib3coded♥ 712
Cute three.js mini-game with seasonal mode switches
@studio_veco♥ 677
Browser-based first-person Three.js game with swimming, boat, and inventory mechanics
@maxt3chno♥ 607