en:spritecollide [BASIC 256 - Language Documentation]

# BASIC 256 - Language Documentation

en:spritecollide

## Spritecollide (Function)

### Format

spritecollide ( sprite_number, sprite_number )

returns boolean_value

### 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

Spritecollide, Spritedim, Spriteh, Spritehide, Spriteload, Spritemove, Spritepoly Spriteplace, Spriteshow, Spriteslice, Spriter, Sprites, Spritev, Spritew, Spritex, Spritey

### History

0.9.6n | New To Version

en/spritecollide.txt · Last modified: 2014/02/09 14:30 by admin