1
Window / [SOLVED] Keyboard Input: Actions are running too fast
« on: February 25, 2022, 01:00:38 pm »
Hello, all!
I wrote my own Tetris https://github.com/m3nf1s/SFML-Tetris
When I press the buttons, actions are running too fast
I set low fps, but my Input has Input lags. I set KeyRepeatEnabled(false), but it doesn't work (Idk why)
I read articles about deltaFixedTime, but I think that It doesn't work for me because I move my figure not by pixels, but relative to the gamefield array.
How can I fix it?
I wrote my own Tetris https://github.com/m3nf1s/SFML-Tetris
When I press the buttons, actions are running too fast
I set low fps, but my Input has Input lags. I set KeyRepeatEnabled(false), but it doesn't work (Idk why)
I read articles about deltaFixedTime, but I think that It doesn't work for me because I move my figure not by pixels, but relative to the gamefield array.
How can I fix it?