Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - m3nf1s

Pages: [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?

Pages: [1]