Closed fenomas closed 2 years ago
Separate to the state object, there should be an object that counts press events and is cleared each frame by tick. This will let games process all inputs discretely in their tick function if they want to.
state
tick
This is added in 0.6.0 (currently in #develop)
Separate to the
state
object, there should be an object that counts press events and is cleared each frame bytick
. This will let games process all inputs discretely in their tick function if they want to.