Hi,
I would like to handle the input one by one. I know the events are "stacking" in SFML. But if the user is "spamming" his keyboad like a fool, I don't want to stack it. I don't know if it's clear. If Space is used for a jump, if the user spam his Space key, he'll jump again and again when he hit the floor.
And I would like to know how to clear the event i'm handling. For exemple when I use Space to pause the game and I want another Space to leave the pause it, the execution will go too fast, so the last input will be the Space and it will directly leave the pause instantly. Must I have to wait the user to release the Space key and then wait another Space to leave the pause?
Thanks in advance !