AfterDawn: Tech news

Prince of Persia ported to JavaScript, runs in browser

Written by Petteri Pyyny @ 29 Dec 2021 6:05

Iconic platformer Prince of Persia now runs in JavaScript, in your browser

Back in 1989, the world of platformer games was pushed to new level. Genre, dominated by Nintendo's cute-sy platformer characters was overtaken by first-ever cinematic platform adventure, Prince of Persia.
Originally released for Apple II, but later ported to most of the available gaming / computing platforms of that era (including Commodore Amiga and Atari ST), the game became a commercial success - and an icon of its kind.

In Prince of Persia, you control the protagonist in order to save the princess who has been captured by the evil Grand Vizier Jaffar. Set in medieval Persia, the game resembles 1980s adventure movies in many ways.

Now, a Spanish developer ultrabolido has taken the 1990 MS-DOS port of the game and further ported it to... your browser!

Using purely HTML5 and JavaScript, the game is true to its MS-DOS port, using the same graphics and same music as the 31-year-old MS-DOS version.

Here's a reminder of how the game's Amiga port looked like:





Game can be played at PrinceJS.com. It doesn't work very well for mobile phones, as the controls are the same as they were back in the day: you use cursor keys to guide the protagonist through the dangers of medieval Persia. But for any modern browser and a computer can run the game smoothly.

Obviously, the game's source code has been released, too and is available at GitHub.

Previous Next  
Comments have been disabled for this article.

Latest news

VLC hits milestone: over 5 billion downloads VLC hits milestone: over 5 billion downloads (16 Mar 2024 4:31)
VLC Media Player, the versatile video-software powerhouse, has achieved a remarkable feat: it has been downloaded over 5 billion times.
1 user comment
Sideloading apps to Android gets easier, as Google settles its lawsuit Sideloading apps to Android gets easier, as Google settles its lawsuit (19 Dec 2023 11:09)
Google settled its lawsuit in September 2023, and one of the settlement terms was that the way applications are installed on Android from outside the Google Play Store must become simpler. In the future, installing APK files will be easier.
8 user comments
Roomba Combo j7+ review - Clever trick allows robot vacuum finally to tackle home with rugs and carpets Roomba Combo j7+ review - Clever trick allows robot vacuum finally to tackle home with rugs and carpets (06 Jun 2023 9:19)
Roomba Combo j7+ is the very first Roomba model to combine robot vacuum with mopping features. And Roomba Combo j7+ does all that with a very clever trick, which tackles the problem with mopping and carpets. But is it any good? We found out.
Neato, the robot vacuum company, ends its operations Neato, the robot vacuum company, ends its operations (02 May 2023 3:38)
Neato Robotics has ceased its operations. American robot vacuum pioneer founded in 2005 has finally called it quits and company will cease its operations and sales. Only a skeleton crew will remain who will keep the servers running until 2028.
5 user comments
How to Send Messages to Yourself on WhatsApp How to Send Messages to Yourself on WhatsApp (20 Mar 2023 1:25)
The world's most popular messaging platform, Meta-owned WhatsApp has enabled sending messages to yourself. While at first, this might seem like an odd feature, it can be very useful in a lot of situations. ....
18 user comments

News archive