Commodore 128 System Manual page 318

Table of Contents

Advertisement

Parameter
number
on/off
fgnd
priority
x-exp
y-exp
mode
Unspecified parameters in subsequent sprite statements take on
the characters of the previous SPRITE statement. You may check
the characteristics of a SPRITE with the RSPRITE function.
EXAMPLES:
SPRITE 1,1,3
Turn on sprite number 1 and color it red.
SPRITE 2,1,7,1,1,1
Turn on sprite number 2, color it blue make it pass behind objects
on the screen and expand it in the vertical and horizontal
directions.
SPRITE 6,1,1,0,0,1,1
Turn on SPRITE number 6, color it black. The first 0 tells the
computer to display the sprites in front of objects on the screen.
The second 0 and the 1 following tell the C128 to expand the
sprite vertically only. The last 1 specifies the sprite to be
displayed in multicolor mode. Use the SPRCOLOR command to
select the sprite's multicolor.
SPRITE 7,,„1
Set the horizontal expansion of sprite number 7 - all other options
retain their previous settings.
17-76
Description
Sprite number (1 -8).
Turn sprite on (1 ) or off (0).
Sprite foreground color (1 -16).
Priority is 0 if sprites appear in front of
objects on the screen priority is 1 if sprites
appear behind objects on the screen.
Horizontal EXPansion on (1 ) or off (0).
Vertical EXPansion on (1 ) or off (0).
Select standard sprite (0) or multicolor
sprite (1 ). (See SPRCOLOR)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

128d

Table of Contents