Hi!
I got a big white square on the screen once I run the code with the error message "Unable to load file"
I assume it is IDE setting problem, which the difference of execution directory and debug directory but not sure how should I adjust those IDE directions on the project option. I posted the error message in the console and my project settings
source code
Labyrinth.loadFromFile("asset/labyrinth.png");
int index = 0;
for (int i = 0; i < 8; i++)
{
for (int j = 0; j < 4; j++)
{
LabyrinthPieces[index] = new sf::Sprite(Labyrinth, sf::IntRect(i * 8, j * 8, 8, 8));
LabyrinthPieces[index]->setScale(2.0f, 2.0f);
index++;
}
}
Players.loadFromFile("asset/players.png");