Live data from Hacker News

Prince of Persia in JavaScript

princejs.com

91–100 of 237 posts

Re: Prince of Persia in JavaScript

#95
So many memories playing this, thanks!

I expected after finishing level 1 to see the “page 4 line 2 character 6” challenge room, where you were supposed to prove you owned the official manual.

When I was a kid we had it on floppy disk but never had the original book, and I remember diligently filling in a table of failures each time I drank the wrong letter and died. Eventually I got them all!

Because of this I remember level 1 extremely well :D

Re: Prince of Persia in JavaScript

#96
This is great and I also enjoy https://github.com/NagyD/SDLPoP where my favourite feature is the ability to take a screenshot of the whole level... which usually fits well within my 4K display.

Oh, and playing at 3840x1200 means that every original 320x200 pixel is ... 144 pixels!

Re: Prince of Persia in JavaScript

#98

This is awesome. Brings back so many memories as a kid. Thank you. This is built with phaser. I am not very good at this game but if you need to recover life mid game, you can use this. Phaser.GAMES[0].state.getCurrentState().ui.player.addLife() Is this open source?

Love that the cheats are just program statements that can be understood, instead of some obscure rom or memory hacking. This is how software always should have been like.

Re: Prince of Persia in JavaScript

#99

This is awesome. Brings back so many memories as a kid. Thank you. This is built with phaser. I am not very good at this game but if you need to recover life mid game, you can use this. Phaser.GAMES[0].state.getCurrentState().ui.player.addLife() Is this open source?

It’s probably this: https://phaser.io/

Which is open source.

Post reply on HN