I have this tile here, and I made a tiled background with it. But it show some black borders in it. I dont know why
Can someone help me?
images["BGGround"].LoadFromFile("resources/background/ground.png");
for(unsigned int i = 0; i < width+2; i++)
{
sf::Sprite groundTile;
groundTile.SetCenter(0,0);
groundTile.SetImage(images["BGGround"]);
groundTile.SetPosition(-(float(width)/2 +1)*64+i*64,0);
background.push_back(groundTile);
}
Here is a screenshot: