Download Print this page

Goldstar FC-200 Operating Instructions Manual page 74

Family computer

Advertisement

The
statement
COLOR
the color
characters
the
You
can change
being.
terms
of
Explanation
800
clause
GOTO
on
800."
line
800
Line
shown
is
computer
statement.
you want to hold
If
can assign
the
You
the
set
16x16 magnified
up
sprite
magnified
will
sprite
magnified)
will
the stars.
Next, we draw
=
RND(1)+255:Y
xX
PSET
(X, Y),
11
the stars are determined
of
The
positions
function
The
RND
number between
random
and
are the magnitudes
255
190
respectively. The
since the results
of RND
0.1.
and
0.2...
(0,
1
the
drawn by
PSET
the stars
position
of
The
determined
RND function.
by
is
as
follows;
1
COLOR
15,5,
med
[
of
the
(white)
colors as
you want, but
INFINITE LOOP
statement, ''branches
800
the
line
is
entered
show the current state
to
just as
is
stopped
it
the
press the
program,
Mode by
Graphic
sprite
for UFO
be
right, but
all
make
UFO
little
a
SCREEN 2, 3
Lems
Mode
Graphic
The
programs
= RND(1)+190
assigns the approximate
and
0
1).
of the horizontal side
magnitudes
both
of
function only
1).
Once the positions
statement.
eg
PSET
11
Y),
(X,
_72-—
L_
Back ground color (black)
color of the fore ground
above colors
the
use
of the SCREEN. The
state
the
of SCREEN
in
|C
statement
the
SCREEN
that
be entered
will
the
8x8 unmagnified
smaller.
sprite
magnified
is
as
follows;
the
function.
RND
by
coordinates
X, Y
and the
sides
are
multiplied by 255
the numbers between
limited to
are
stars are
of the
star
color
of
the
(light-yellow)
blue)
(light
the
for
time
line
800 to
out
of
by this
2
keys.
and
line
60,
on
later. The 8x8
16x16
(or
un-
generates
a
(it
vertical side
and
190
0
the stars are
fixed,

Advertisement

loading