Live data from Hacker News

Prince of Persia in JavaScript

princejs.com

211–220 of 237 posts

Re: Prince of Persia in JavaScript

#211
post #141
post #76

Earlier quoted context omitted.

I'm not on mobile and I also cannot figure out where the action button is. One can get as far as finding the sword, but I have to idea how to pick it up.

Seems like the controls are the same as the original! Use the Shift key to pick up the sword. And I think Space to attack and the Up cursor key to block when you get to the swordsman.

I'm using a Windows laptop with an external USB keyboard. The Shift key didn't do anything. But the Shift key on the laptop's own keyboard worked.

Re: Prince of Persia in JavaScript

#212

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 see my kids don't have much of these challenges, everything works for them. This is one of the reasons I recommend teaching kids C++ early. Between build systems, ABI issues, compiler error messages, and undefined behavior it really builds perseverance and a great sense of accomplishment when your program compiles and runs correctly. I am not aware of any other production language that gives that sense of accompl…

I can't tell whether this satire.

Re: Prince of Persia in JavaScript

#214
post #12
post #7

Can you add action buttons? The directional buttons were easy enough to infer, but not sure what other types of input are possible. (I’m on mobile)

i just tried it on mobile and i am very impressed. the movement controls are very intuitive. they don't hit accurately but they work in an intuitive way. i tapped the four directions and four quadrants of the play screen. and the character responded as i expected. i am with you though. i have no idea how i will use the sword when i get it.

Hm, I couldn’t get it to work on my iPhone (not that I actually expected it to) - I could do some things but the controls didn’t seem to work consistently.

Re: Prince of Persia in JavaScript

#215

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…

This is an interesting take. I was speaking with my brother about the Genesis game Shinobi (part 3). What drew me to it was that it was so hard. You had to concentrate and really get good at it if you needed to play the game and reach the (rather disappointing by modern standards) end.

Modern games which I've played are more like movies with a limited amount of interactivity. Maybe it's just generational but I do think there's a good amount of "dumbing down" in not just games but educational and other content in general.

Apart from that, I was tickled at playing this. I used to smuggle this game from friends at school on 2 5.25" double density disks. There was so much trouble to get games and play them. Damaged disks, the fear of getting caught by the school staff, "friends" who would give me games other than the ones we agreed upon. Hard to imagine a world like that in a world where I can type a URL into a browser and play the game.

Re: Prince of Persia in JavaScript

#216
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!

Oh, Atari ST; I assume that's where the graphics for the JS edition are from? It looks far to good to be the Apple version... [edit] Looks like there were many ports with similar looking graphics: https://www.mobygames.com/game/apple2/prince-of-persia/scree...

The graphics and sound are from the PC version.

Re: Prince of Persia in JavaScript

#220

Finally, a thought is able to form from the depths of my mind - the netflix noise is just straight up the falling noise from prince of persia!

TIL there is a whole story behind the "ta-dum" sound (which is also its name, btw) and that the core of it is a wedding ring rapping on a cabinet: https://www.news24.com/channel/tv/news/the-story-behind-the-...

nice story, reminds me of https://www.mentalfloss.com/article/50824/creating-windows-9...
Post reply on HN