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

Guide: How to Kick Unwanted Guests from Your Netflix Account Guide: How to Kick Unwanted Guests from Your Netflix Account (26 Jan 2023 2:14)
Sharing a Netflix account with a person in a different location is possible and indeed very common, although the company doesn't necessarily enjoy this behavior from their customers. However, ....
Guide: Turn an Old Computer Into a Chromebook Easily and for Free Guide: Turn an Old Computer Into a Chromebook Easily and for Free (07 Jan 2023 2:11)
Do you know someone whose computer is way beyond its best-before date, and they, unfortunately, do know have the skills or the expertise to do much about it? Or do you own a pile of old laptop ....
2 user comments
How to Choose a Robot Vacuum? How to Choose a Robot Vacuum? (07 Jan 2023 9:12)
Robot vacuums are meant to make day-to-day life easier in several ways. When they are used efficiently, they can keep the house clean continuously - at least when it comes to floors. In addition, ....
2 user comments
Tech year 2022 wrapped up: The rise of the AI, EU to become the much-needed counterweight to tech giants, ... Tech year 2022 wrapped up: The rise of the AI, EU to become the much-needed counterweight to tech giants, ... (01 Jan 2023 2:11)
AfterDawn's wrap-up for the tech year 2022. The rise of the artificial intelligence was probably the most significant change that occurred during the year 2022, but there were many other interesting developments, too.
2 user comments
OPPO to follow Samsung, OnePlus: Promises 4 Android updates, 5 years of patches for upcoming flagships OPPO to follow Samsung, OnePlus: Promises 4 Android updates, 5 years of patches for upcoming flagships (21 Dec 2022 3:45)
OPPO has updated its official Android update policy. Phone manufacturer now promises four major Android operating system updates for its new flagship phones.
4 user comments

News archive