Blending image in effect : advice needed

BlitzMax Forums/BlitzMax Beginners Area/Blending image in effect : advice needed

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Yeah. Look at the sample "oldskool2" for one way to acheive an effect like this (although it fades to black, but changing it to white is really pretty much a no-brainer).

The relevant code is reproduced below:
SetBlend ALPHABLEND
SetAlpha term
SetColor 0,0,0
DrawRect 0,0,640,480
SetAlpha 1
SetColor 255,255,255
The variable "term", is a float that slowly moves from 0 -> 1 as the program dies.