Live data from Hacker News

Prince of Persia in JavaScript

princejs.com

51–60 of 237 posts

Re: Prince of Persia in JavaScript

#52
post #50

Earlier quoted context omitted.

This is a constant gripe for me. If you're going to play audio on your website, you really should provide a volume control.

Why? You have global volume control, music players have it. To me it's the same as asking every website for brightness adjustment bar or font size control.

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

Re: Prince of Persia in JavaScript

#54
post #33

Wow! this is too good except for the sound though which seems a bit modern to me.

Sound is definitely the same as the Amiga version at least.

Adlib/Sound Blaster gave you a similar experience, although I also like the PC speaker version better.

Re: Prince of Persia in JavaScript

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

Interesting. I think you can but the animation is way clumsier? I was testing against https://archive.org/details/msdos_Prince_of_Persia_1990

Re: Prince of Persia in JavaScript

#56
I used to play this in college in the back of the classroom in DOSBox. I was good enough at it that I would only need to look at the screen on occasion, so the instructor wouldn’t notice, and almost had the key sequences and time to hold in muscle memory.

Re: Prince of Persia in JavaScript

#57
post #49
post #46

Earlier quoted context omitted.

It's part of the experience. I remember it taking me a long time to figure out on my 386DX.

Pirate. ;-)

Oops. In my (8yo) defense at that point in time I had no idea that games can be bought.

* I think I'm still somewhat afraid of sliding doors ;)

Re: Prince of Persia in JavaScript

#58
post #52
post #50

Earlier quoted context omitted.

Why? You have global volume control, music players have it. To me it's the same as asking every website for brightness adjustment bar or font size control.

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.

Re: Prince of Persia in JavaScript

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

Hear, hear.

I know where my computer's volume controls are - and if I have a keyboard with volume controls, that's what they work on. I almost never want to touch a specific app's or website's volume control... unless its volume is way too soft even at max system volume.

Basically, I don't need a gazillion interfaces. One suffices. Just don't go out of your way to make that generic, system-wide interface insufficient for your app and it'll be fine.

Post reply on HN