![]() |
Retro Rocket OS
|
SPRITECOLLIDE(sprite_a, ax, ay, sprite_b, bx, by)
Checks whether two sprites collide using pixel-perfect collision detection.
Returns TRUE if any opaque pixels overlap, or FALSE if they do not.
Examples
Notes
Uses sprite transparency for collision.
Sprites must be loaded with SPRITELOAD.
See also: SPRITELOAD · PLOT · ANIMATE