mixOverlay (thisFile, atX, atY);
Loads an image from the file handle thisFile and overlays it onto the screen with 50% transparency. The colour bright magenta (255, 0, 255 or #FF00FF) is used as the transparency colour (except for 32-bit images, where the alpha channel is used!), making is possible to add irregular shapes.
The values atX and atY define the top left corner of the area into which the image will be added. If the value of atX is CENTRE (or CENTER) the image will be added halfway across the window. If the value of atY is CENTRE (or CENTER) the image will be added halfway down the window.
No return value.
sub init () { mixOverlay ('someImage.tga', CENTER, CENTER); }
SLUDGE and this SLUDGE documentation are copyright Hungry Software and contributors 2000-2012