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 - Dr. Clown the Strangler

Pages: [1]
1
General / Choppy camera.
« on: August 05, 2013, 05:28:54 pm »
I'm reading through the "SFML Game Development" book. And there's something I cannot figure out. I understood how the game loop's supposed to work, but when I put it together in a small test project, I ended up having a choppy camera.

Here's the source code. The "player" sometimes wraps back and forth.
It doesn't happen without a camera (=sf::View).

I compiled the final version of the seventh chapter and it doesn't seem to happen there.

PS: Never mind the strange usage of the vector. :P

Pages: [1]