Page 1 of 1

Prince of Persia reimplementation written in HTML5 / JavaScript

Posted: April 16th, 2021, 3:01 pm
by oklemenz
Find a feature complete version of Prince of Persia (JS) here:

https://github.com/oklemenz/PrinceJS

Also playable on mobile device via touch control. Have fun!

Re: Prince of Persia reimplementation written in HTML5 / JavaScript

Posted: April 16th, 2021, 3:18 pm
by atrueprincefanfrom18
oklemenz wrote: April 16th, 2021, 3:01 pm Find a feature complete version of Prince of Persia (JS) here: [...]
Nice job! I liked it! :)

Re: Prince of Persia reimplementation written in HTML5 / JavaScript

Posted: April 16th, 2021, 7:31 pm
by Norbert
This is an improved version of ultrabolido's PrinceJS, I think?
Can you go into what you've altered?

Re: Prince of Persia reimplementation written in HTML5 / JavaScript

Posted: April 16th, 2021, 11:18 pm
by oklemenz
Missing features are all implemented (incl. sound/music) and alot of bugs fixed. Playable online in browser, on mobile device and locally...

Re: Prince of Persia reimplementation written in HTML5 / JavaScript

Posted: April 18th, 2021, 1:32 pm
by David
I have played through level 1 and so far it looks good.
(It's funny to play with the mouse simulating the touch controls. :) )

Question: The readme mentions "Safari / Chrome", but the game works well in Firefox as well.
Are there some known bugs when the game is played in Firefox, or did you just not test the game there?

Small bugs/differences from the original:
• The gate closing sounds should be heard only if the gate is visible on the screen.
• When I restart level 1, the prince waits crouching for the length of the music, even though the music is (correctly) not played.

Re: Prince of Persia reimplementation written in HTML5 / JavaScript

Posted: April 19th, 2021, 8:58 pm
by oklemenz
Yes, in principle should run on all modern browsers. But I only did test on Chrome and Safari...
I try to fix those bugs... thx for testing..

Re: Prince of Persia reimplementation written in HTML5 / JavaScript

Posted: January 4th, 2022, 8:03 pm
by Norbert
PrinceJS got a lot of attention recently.
Primarily through Kotaku Australia (here) and Hacker News (here).

Re: Prince of Persia reimplementation written in HTML5 / JavaScript

Posted: January 25th, 2022, 9:20 pm
by oklemenz
PrinceJS is also playable on a wearable, e.g. Apple Watch: https://twitter.com/oklemenz/status/148 ... 47430?s=21
Very cool! https://princejs.com