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 - Raving_Maniac

Pages: [1]
1
General / Re: Smooth character movement with Arrow keys
« on: April 29, 2024, 12:40:26 pm »
Hello,

I was having this same problem, but reformatting my code the way kojack said fixed it. I read through quite a few other posts before I found this one.

Here is one of the others that I read:
https://en.sfml-dev.org/forums/index.php?topic=13145.msg92028#msg92028

In that post, eXpl0it3r said:
"Don't mix real-time inputs and event handling.
Read the linked tutorials (again), especially pay attention to when you should use what and where you should use what. :)
"

I read the tutorials, but still don't understand why this fixed the issue. I am pretty new to C++ and SFML so I apologise if this is not a good question.

Pages: [1]