1
Graphics / Sprite blurry
« on: June 07, 2008, 01:22:50 am »
Aah, thanks a bunch.
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.
if (Window->GetInput().IsKeyDown(sf::Key::Left)) Sprite.SetLeft(Sprite.GetLeft() - 100 * Window->GetFrameTime());
In this case, using integer coordinates should solve the problem.
if (App.GetInput().IsKeyDown(sf::Key::Left)) spr_hero.SetLeft(spr_hero.GetLeft() - 100 * ElapsedTime);