Hacker News new | ask | show | jobs
by Waterluvian 1078 days ago
keydown + keyup = keypress

On the surface, yeah, it’s immediately like, “what the heck is 0.5?” But it’s just semantics.

1 comments

Did you watch the intro? It's more than semantics. It doesn't come from (key down+key up)/2, it comes from the fact it counts as 0 in a full game run, and 1 in isolation. He even specifically says "as for the release, there are no cases where that's useful or important" (paraphrased).