amethyst / amethyst/bracket-lib

Only one key handled per tick?

Aperta
#236 2 commenti 0 reazioni 1 assegnatario Rivendicata da @thebracket Vedi su GitHub
bug
Lingua principale
Rust
Stelle
1.7k
Fork
126
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.