amethyst / amethyst/bracket-lib

Only one key handled per tick?

Open
#236 2 comments 0 reactions 1 assignee Claimed by @thebracket View on GitHub
bug
Dominant language
Rust
Stars
1.7k
Forks
126
PR merge metrics
No merged PRs in 30d

Description

I'm working through _Hands On Rust_ and one thing I've noticed is that the game feels a little laggy. I think this is because it is sometimes dropping keypresses, e.g. if I press "up" followed quickly by "down", sometimes the "down" event isn't processed. I think this is due to the fact that the keyboard is only checked once per tick.

Is there some way to guarantee that the game processes every keyboard event that happens?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.