1
Graphics / Re: White sprite
« on: November 17, 2012, 08:55:15 pm »hmm, well upgrading to 2.0 may be the first step towards resolving this
I want to use a stable version of SFML.
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.
hmm, well upgrading to 2.0 may be the first step towards resolving this
[...], BUT, you should use a rendertexture instead of capture() to do this sort of thing. [...]I use the current version of SFML (1.6). sf::RenderTexture::capture() does only exist in 2.0.
Quotefor(unsigned int y=0; y < mCity->getGridSize().y; ++y)
{
cell.setFillColor(sf::Color::Red); break;
cell.setPosition(x*scale, y*scale);
mWindow->draw(cell);
}
Shouldn't that break be conditional?