increpare / increpare/PuzzleScript
Weird key repeat cycle when holding multiple buttons
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 185
- PR merge metrics
- No merged PRs in 30d
Description
Holding Right and Up (which I will now refer to as A and B), the engine receives input turns like this:
ABBABABA...
It's a minor annoyance in many games (and should be fixed solely for that) but a very concrete example of a game that relies on inputs alternating and not doubling up is Hebird (link to a fork but my testing was done solely on vanilla)
Not a real case but holding ABCD makes for ABCDBCDABCD...
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the input sequence while holding two or more buttons, then trace the engine's keyboard repeat and input-dispatch handling. Compare the observed sequence with the intended alternating behavior described in the issue. Done means simultaneous held inputs no longer duplicate or reintroduce one key unexpectedly, with the reported examples behaving consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100