home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 20
/
020.d81
/
t.spriteseer.128
< prev
next >
Wrap
Text File
|
2022-08-26
|
3KB
|
180 lines
SPRITESEER 2.0
A Sprite Editor for the C-128
Written by: Louis F. Sander
Spriteseer 2.0 is a very sophisti-
cated sprite editor that allows you
to create, examine, and alter sprites,
as well as manage your sprite
libraries. Specifically, Spriteseer
2.0 lets you do these things:
- Create sprites with the 128's
SPRDEF command.
- Put text in sprites, from one
of three different fonts.
- Display sprites in an orderly
way, in any color on any back-
ground color.
- Observe sprites as they move at
various speeds and angles.
- Save sprites to disk, and load
them back again.
When the program is run, eight
sprites are displayed at the bottom
of the screen and seven text lines at
the top. The text lines are there so
that you may execute the different
aspects of the program, at your
convienience. For example, line 410
takes up two of these seven lines. To
alter how your sprites are displayed,
You can change line 410 as follows:
- E controls sprite expansion. Set
it to one for expanded sprites, zero
for unexpanded sprites.
- M sets multicolor mode off(0) or
on(1).
- The number above the arrow marked
COLOR establishes the color of the
sprites. It's 15 right now, but you
can set it to any number between 1
and 16. To give each sprite a
different color, change it to the
letter K.
- SPRCOLOR controls the multicolor
mode. See your manual and our
previous article [in Nov/ Dec1985
issue of Commodore Microcomputers]
for details.
- The number above the arrow
marked PRIORITY controls whether
sprites pass in front of (0) other
material on the screen or behind it
(1).
Whenever you make a change to line
410, of course, you must rerun the
program. Unless you desire to run the
color-setting statment (line 300),
place your cursor over the RUN301 :
VIEW SPRITES line, then press RETURN.
If you select RUN302 : SAVE SPRITES,
then you will be prompted for saving
your sprites. You have the option to
save only one sprite, all sprites, or
any number between. This is achieved
by by selecting the range of the
sprites to be saved.
When you choose RUN303 :-
MAKE SPRITES, you will have the
option to select either the use of
the C-128's SPRDEF sprite-editor or
you can make Lettersprites using
three different fonts. For more
information on SPRDEF, see your
manual, however to terminate SPRDEF,
press RETURN in response to the
SPRITE NUMBER? prompt.
RUN304 : LOAD SPRITES allows you to
load sprites from disk by specifying
their names. For a directory enter a
$ in response to the prompt. You may
desire a selective directory, if so,
type $ followed by your mask. For
example, $SPR.* will give you all
files that begin with SPR.
Finally, RUN305 : MOVE SPRITES
causes your sprites to move around
the screen, changing directions
every few seconds, while adhering to
the PRIORITY conditions.
------
This program is copyrighted by
Commodore Microcomputers magazine.
All rights to it are reserved.
LOADSTAR has relieved you from the
burden of keying in this program.
For more complete information about
this program, refer to the February
1986 issue of Commodore
Microcomputers.
>Files used: SPRITESEER2.128
--------< end of article >------------