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.


Messages - m3nf1s

Pages: [1]
1
Window / Re: Keyboard Input: Actions are running too fast
« on: February 25, 2022, 04:18:33 pm »
I found answer

It was necessary to move my PlayerInputController move to window.pollEvent loop

2
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]
anything