6. At any time, you may expand your sprite in both the vertical
and horizontal directions. To expand vertically, press the Y
key. To expand horizontally, press the X key. To return to the
normal size sprite display, press the X or Y key again.
When a key turns on AND off of the same control, it is
referred to as toggling, so the X and Y keys toggle the vertical
and horizontal expansion of the sprite.
7. When you are finshed creating your sprite and happy with the
way it looks, save it by holding down the SHIFT key and
pressing the RETURN key. The Commodore 128 SAVEs the
sprite data in the appropriate sprite storage area. The
displayed sprite in the upper right corner of the screen is
turned off and control is returned to the SPRITE NUMBER
prompt. If you want to create another sprite enter another
sprite number and edit the new sprite just as you did with the
first one. If you want to display the original sprite in the work
area again, enter the original sprite number. If you want to exit
SPRITE DEFinition mode, simply press RETURN at the
SPRITE NUMBER prompt.
8. You can copy one sprite into another with the “C” key.
9. If you do not want to SAVE your sprite, press the STOP key.
The Commodore 128 turns off the displayed sprite and
returns to the SPRITE NUMBER prompt.
10. To EXIT SPRite DEFinition mode, press the RETURN key
while the SPRITE NUMBER prompt is displayed on the screen
when no sprite number follows it. You can exit under either of
the following conditions:
Immediately after you SAVE your sprite (shift RETURN),
Immediately after you press the STOP key
Once you have created a sprite and have exited SPRite
DEFinition mode, your sprite data is stored in the appropriate
sprite storage area in the Commodore 128’s memory. Since you
are now back in the control of the BASIC language, you have to
turn on your sprite in order to see it on the screen. To turn it on
again, use the SPRITE command you learned previously. For
example if you created sprite 1 in SPRDEF mode. To turn it on in
BASIC, color it blue and expand it in both the X and Y directions
enter this command:
SPRITE 1,1,7,0,1,1,0
6-27