Live data from Hacker News

Interactive 3D ASCII scenes

yeahpython.github.io

11–20 of 62 posts

Re: Interactive 3D ASCII scenes

#14
post #9
post #6

Why WASD ? A lots of people on the Internet doesn't have a Qwerty keyboard.

Wait. What do you use for PC games by default in those countries?

WASD is fine in games if you listen for key codes, but not if you're comparing it to the key character

Re: Interactive 3D ASCII scenes

#18

Since the movement speed is tied to requestAnimationFrame, the speed of the game changes with the update frequency of the user's monitor. Since all my monitors are at 144Hz this game is ridiculously fast for me.

To clarify, there's nothing wrong with tying your movement to requestAnimationFrame() and it is in fact encouraged, but you must modulate it by the frame delta.

Re: Interactive 3D ASCII scenes

#20
post #9
post #6

Why WASD ? A lots of people on the Internet doesn't have a Qwerty keyboard.

Wait. What do you use for PC games by default in those countries?

Big games already have the right bindings, the others have to be configured. Sometimes it is not possible, and we just pass.
Post reply on HN