Index // Spritecollide


Format:

spritecollide( sprite1, sprite2 )

Description:

Function returns true if the two sprites are colliding. The Spritecollide function assumes that the sprites are bounded by a rectangle the size of the loaded image. Collission is calculated by using these rectangles. For round or odly shaped sprites this function may over detect collision.

See Also:

Spritedim, Spriteh, Spritehide, Spriteload, Spritemove, Spriteplace, Spriteshow, Spriteslice, Spritev, Spritew, Spritex, Spritey

Revised:

0.9.6n