Live data from Hacker News

Prince of Persia in JavaScript

princejs.com

21–30 of 237 posts

Re: Prince of Persia in JavaScript

#22

I found the input latency made this unplayable.

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.

Re: Prince of Persia in JavaScript

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

Slash sword is the middle tap. Took me awhile to figure that out but makes sense now that I know since you can't slash backwards.
Post reply on HN