amethyst / amethyst/bracket-lib

Only one key handled per tick?

Abierto
#236 2 comentarios 0 reacciones 1 asignado Reclamado por @thebracket Ver en GitHub
bug
Lenguaje dominante
Rust
Estrellas
1.7k
Forks
126
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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?

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.