Live data from Hacker News

Prince of Persia in JavaScript

princejs.com

151–160 of 237 posts

Re: Prince of Persia in JavaScript

#151
Prince of Persia is very reminiscent of Aztec:

https://en.wikipedia.org/wiki/Aztec_(video_game)

The basic idea is the same in Aztec: you control a character that descends into a multi-level tomb. Like in PoP, there isn't any sideways scrolling. You step from screen to screen sideways, or fall through traps or go down stairs and such.

Re: Prince of Persia in JavaScript

#152

I'm interested in the tech behind this. Most javascript game stuff I've tried on my iPhone have had issues because of safari "helpfully" scrolling or zooming or showing the address bar when tapping or swiping. This one doesn't seem to do that for me. What's the trick?

The css directives here are probably a part of the answer:

https://github.com/oklemenz/PrinceJS/blob/master/assets/web/...

And also see the <meta name="viewport" ... values in the page itself.

Re: Prince of Persia in JavaScript

#153

Awesome! Takes me back :) My 8 yo son is playing it now, he knows all the modern consoles, but this is challenging him. He is frustrated things are hard from the beginning, jumps don't work right away and he stopped after a few minutes. I remember my perseverance as a kid. I was thinking about that lately, I see my kids don't have this strong motivation as I had, not for anything. Everything works for them and is lay…

My teenager plays a game called Celeste (among other pretty difficult games). I grew with 80s and 90s games and Celeste looks like I would not bother (or possibly even be capable) to learn it, but he did over several painful and repetitive hours.

So it could be that the children are both ok and broken in new ways, like our generation was.

Re: Prince of Persia in JavaScript

#156
post #130
post #61

Great job! It's amazing to be able to feel again the sensations I had 30 years ago while developing the Atari version of this game. Thanks again!

Then, thanks a lot. I spent countless hours on this very version !

You are very welcome! From time to time I meet people that played that PoP Atari version and each time it is heartwarming. Thanks.

Re: Prince of Persia in JavaScript

#157

Soooooo, walkthroughs weren't a thing when you were kids? They definitely existed for every space/police/kings quest game, and many others. I'm not sure things are so different now, perhaps we are looking at the past through rose colored glasses.

Where did you watch walk-thrus in the 80s?

You bought books. At the same store you bought the games.

Re: Prince of Persia in JavaScript

#158
post #108

Earlier quoted context omitted.

I'm really sorry, I did not work on "Stunts". I was also developing at that time a Formula 1 game, that was finally not released. With Broderbund I worked on: - Showoff ( https://www.whatisthe2gs.apple2.org.za/show-off-/ ), a kind of PowerPoint software - Downhill Challenge (port from Atari to Apple II GS - https://www.youtube.com/watch?v=6V5JZGHox7I ) - Prince of Persia (port from Apple II to Atari ST)

Thank you, I enjoyed playing the Atari ST version of PoP many years ago, I remember it as one of the best games of the time!

You are very welcome! I thank Jordan Mechner for creating this game and the Broderbund team for letting me be part of this extraordinary adventure...

Re: Prince of Persia in JavaScript

#159

Awesome! Takes me back :) My 8 yo son is playing it now, he knows all the modern consoles, but this is challenging him. He is frustrated things are hard from the beginning, jumps don't work right away and he stopped after a few minutes. I remember my perseverance as a kid. I was thinking about that lately, I see my kids don't have this strong motivation as I had, not for anything. Everything works for them and is lay…

> I was thinking about that lately, I see my kids don't have this strong motivation as I had, not for anything.

> Don't know how this will affect them on the long run. Now it's only my observation.

I realize that you're only talking about your own kids, but I have a feeling that many people on here consider this to be some kind of general rule for all kids, akin to the "back in my day" rhetoric of the generations before us.

I think it's good to consider that your kids will likely live in a world where this attitude is actually a very effective one:

* Instead of spending days trying to solve some problem yourself, download an app that solves it for you in minutes.

* Instead of coming up with a very well informed opinion about everything relevant in today's politics, listen to trusted others who have taken the time to form opinions on the matter.

* Instead of trying to "earn" that promotion by working 80 hour weeks and "keeping your head down" at your office, apply for a different job elsewhere that offers better pay and work/life balance.

As most of us here are programmers, we all know the benefits of greedy algorithms vs brute-force solutions. Yes, sometimes a brute force solution can be very satisfying, but taking "smart" shortcuts in life really does pay off, whether we like it or not.

And before you tell me that I'm probably one of those millenials who doesn't do anything and thinks everything will just be handed to them: well.. yeah, that's kinda true. I've never worked at a single job for more than a year, I've never really put more effort into my education than what was strictly needed to pass (and sometimes less), and now I'm a data engineer at Apple.

Re: Prince of Persia in JavaScript

#160
post #153

Awesome! Takes me back :) My 8 yo son is playing it now, he knows all the modern consoles, but this is challenging him. He is frustrated things are hard from the beginning, jumps don't work right away and he stopped after a few minutes. I remember my perseverance as a kid. I was thinking about that lately, I see my kids don't have this strong motivation as I had, not for anything. Everything works for them and is lay…

My teenager plays a game called Celeste (among other pretty difficult games). I grew with 80s and 90s games and Celeste looks like I would not bother (or possibly even be capable) to learn it, but he did over several painful and repetitive hours. So it could be that the children are both ok and broken in new ways, like our generation was.

Celeste is a masterpiece. It's well worth the investment in beating the base game, though I did quickly give up on the significantly-more-difficult B- and C-side content.

If you're interested in understanding some of why Celeste is so important to a lot of people but don't feel up for playing it yourself, these two video essays are a great watch:

https://www.youtube.com/watch?v=0QRZyei6dBo

https://www.youtube.com/watch?v=eSxo9JnB1iI

Post reply on HN