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

Pages: [1]
1
General / Re: Weird behaviour when moving window
« on: February 28, 2015, 04:26:31 pm »
Sorry for refreshing, but i think i found better solution for this problem.
Just exclude events handling time in your delta. No need for fixed time step.
sf::Clock Clock;
float Time = 0;

while (Window.isOpen())
{
        handleEvents();
        Clock.restart();
        updateGame(Time);
        render();
        Time = Clock.getElapsedTime().asSeconds();
}
 

2
Window / Re: TextEntered event not sent on backspace/delete on mac
« on: August 19, 2013, 02:09:13 pm »
Pressing Delete (ASCII 127) doesn't send TextEntered event. Pressing Backspace (ASCII 8 ) does.
(SFML 2.1, Windows 7 x64)

Pages: [1]
anything