====== Sprites ====== [v3.1] [c64] [c128] With XC=BASIC, you can display, move and animate sprites easily, as well as you can detect sprite collisions intuitively. * The [[SPRITE]] command sets various properties of a single sprite, including visibility, shape, color, etc. * [[SPRITE_MULTICOLOR]] sets the global multicolor values (for all sprites) * The [[SPRITEHIT|SPRITEHIT()]] function checks if a sprite collided with another one * The [[SPRITEBGHIT|SPRITEBGHIT()]] function checks if a sprite collided with the background graphics * [[SPRITE_CLEAR_HIT]] clears the collision status * You can fire interrupts on sprite collision using the ''ON SPRITE GOTO'' and ''ON BACKGROUND GOTO'' statements.