Hey guys,
I'm having a bit of trouble implementing a fade between level transitions.
Here is the pseudocode for half of the transition:
All I get is a white screen. When I remove the line that says "SetAlpha 1.0", I get a weird washout effect. I've had fades working before, as I've used a similar method in my previous game for a splashscreen. Anyone have any ideas as to why it is not working now?
I'm having a bit of trouble implementing a fade between level transitions.
Here is the pseudocode for half of the transition:
Function fadeTransition() SetBlend alphablend Local SplashCounter = 0 Local alphaValue:Float = 0.0 While SplashCounter < 50 DrawLevel() DrawChars() SetAlpha alphaValue TileImage white_fade SetAlpha 1.0 alphaValue = alphaValue + 0.02 SplashCounter = SplashCounter + 1 Flip Cls Wend End function
All I get is a white screen. When I remove the line that says "SetAlpha 1.0", I get a weird washout effect. I've had fades working before, as I've used a similar method in my previous game for a splashscreen. Anyone have any ideas as to why it is not working now?