IsPlatform
IsPlatform

Checks if the collision mask at the given pixel is a platform.

bPlatform = myStoryboard.IsPlatform( X, Y )

Return value
TRUE if a platform, otherwise FALSE.

Parameters
  • X
    The X co-ordinate of the pixel to test
  • Y
    The Y co-ordinate of the pixel to test
Comments

This will always return FALSE if the given co-ordinate is outside the collision mask surface.

See also
Storyboard:IsClear
Storyboard:IsObstacle
Storyboard:IsLadder
Storyboard:GetMaskValue



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