DECLARE SUB DQBcopyTransLayer (BYVAL SourceLayer, BYVAL DestLayer)
SourceLayer - Source layer to copy data from
DestLayer - Destination layer where to copy data
none
This function is similar to DQBcopyLayer, but the pixels with color 0 of the source layer are skipped and not copied onto the destination layer; this allows transparent layer copy. With some practice, it is possible to obtain a parallax scrolling effect using this function with DQBscroll.
Needless to say, DQBcopyTransLayer is slower than DQBcopyLayer, be warned.
See DQBcopyLayer example