Live data from Hacker News

Prince of Persia in JavaScript

princejs.com

71–80 of 237 posts

Re: Prince of Persia in JavaScript

#71
post #22

Earlier quoted context omitted.

The prince doesn't stop on a dime, this was a design choice. This recreated version plays the same as it did on OG hardware. If you're having difficulty, focus on holding and releasing the inputs and think of it as applying acceleration, where you want to release before you want the object to stop.

The controls are very similar to the original, however there's somethings you can't do like step then crouch.

That's false. The controls are identical to the original and you can indeed step then crouch (⇧+→ ↓).

Re: Prince of Persia in JavaScript

#74
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.

How do you walk forward slowly? Tapping bottom edges does “run” action for me.

Edit: figured it out, tap on the center and swipe to the left/right to walk.

Re: Prince of Persia in JavaScript

#75
post #58
post #52

Earlier quoted context omitted.

Because we don't want to have to readjust everything else around your special snowflake site?

I mean it sincerely. Are you listening to something else while using a website with sound? I usually just pause the music. If it's some music/podcast isn't it more handy to have a known volume knob on that instead of finding one on every website? I don't care about the right opinion. I'm just curious about scenarios where lack of volume control is a problem.

I think you answered your own question. Not everyone needs just a single audio-playing app at the same time.

Audio is also things like warning sounds, it isn't just music and games.

Re: Prince of Persia in JavaScript

#76
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'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.

Re: Prince of Persia in JavaScript

#77
post #41

Earlier quoted context omitted.

To me, there is a very large difference between the original game in an emulator and this. It appears that this is using http://phaser.io/ and is a complete rewrite of the original game.

Yeah, not to take away from the great work that the author put into the game but it indeed feels very very different to the original.

Yeah, it’s a lot of very small things but they add up, especially in such a game where there is often a fine line between surviving and dying.
Post reply on HN