# BASIC 256 - Language Documentation

fr:spritecollide

## 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. Collision is calculated by using these rectangles. For round or oddly shaped sprites this function may over detect collision.

### See Also

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

### New To Version

0.9.6n

fr/spritecollide.txt · Last modified: 2011/03/29 11:56 (external edit)