GetCollisionMask
GetCollisionMask

Returns the collision mask surface.

surface = myJAM.GetCollisionMask( )

Return value
The collision mask surface used by the JAM object, or FALSE.

Comments

The collision mask can be modified in any way you want.
The types of point are:
  • BLACK (transparent)
    The point is clear
  • WHITE
    The point is an obstacle
  • BLUE
    The point is a platform
  • YELLOW
    The point is a ladder
See also
JAM:SetCollisionMask
JAM:GetMainBackground



JAM © 2005 no one in partiular
Project started by David Evans in 2005