Hello, is there a recommended way to implement QTE-like stuff, such as requiring the user to keep pressing a key until the gauge fills?
I’m mostly interested in the keyboard processing, but the advices in visualizing the gauge are also welcome.
I assume I start a timer after a key is pressed and restart it every time it is pressed again unless it has run out without presses, but all that seems like a lot of manual work, perhaps there are inbuilt functions to help?
Perhaps something along the lines of input.keyboard.checkDown could help, that checks for presses regularly after some time? Though I’m not sure how it’ll help for counting repeated pressed.
It’s hard to believe such a common mechanic as QTE could not be found in any examples in Phaser I saw on the site.