Ah, i see, could you post a little example of what you mean. If im not using a for statement.
EDIT:
i was having a weird day yesterday. Just took another go at it, but this time instead of using a for statement, i switched it to an if, using a variable to control the alpha.
bool fadeComplete = false;
if(GetElapsedTime() > 1.5f)
{
if(mAlpha < 250)
{
mAlpha += 10;
mSplashSprite->SetColor(sf::Color(255,255,255, mAlpha));
if( mAlpha == 250)
{
fadeComplete = true;
}
}
}
thank you for your help, much appreciated.
But now i have another question related to fade in/out, how would i fade in or out, the entire contents of the screen?