DQBcopyHitLayer
SUB

Prototype

DECLARE SUB DQBcopyHitLayer (BYVAL SourceLayer, BYVAL DestLayer, BYVAL Col)

Parameters

SourceLayer - Source layer to copy data from

DestLayer - Destination layer where to copy data

Col - Filling color

Returns

none

Description

Works exactly like DQBcopyLayer, except for the fact than all the non-0 pixels of the source layer are drawn onto the destination layer with the same color specified with the "Col" parameter.

Notes:

Useful to create collision layers, to be used in conjunction with the DQBcollideOnLayer function.