1
Graphics / Re: How to remove a sprite from the screen? Or set transparent? SFML 2.0/C++
« on: March 05, 2019, 11:39:28 pm »
bool deleteSprite = false;
if (!deleteSprite) {
window.draw(YOUR SPRITE);
}
all you got to do is set deleteSprite to true and your sprite will delete.
if (!deleteSprite) {
window.draw(YOUR SPRITE);
}
all you got to do is set deleteSprite to true and your sprite will delete.