SFML forum,
I'm doing some sprite displaying in a function.
I can do:
sprite.setPosition(x,y);
window.draw(sprite);
but the compiler doesn't like:
rectSourceSprite.left = 213;
I have used all this command successfully outside of the function
but the error message seems to indicate it's out of scope.
I tried:
sf::rectSourceSprite.left = 213;
sprite.rectSourceSprite.left = 213;
but they don't satisfy the compiler.
Any suggestions?
Jerry D