Download Print this page

Goldstar FC-200 Operating Instructions Manual page 73

Family computer

Advertisement

13. HOW TO
DRAW
— Practising programming —
We make the simple moving figure and
sound
this
chapter.
in
basic statements
this
chapter,
we draw
In
the
write
program,
statements;
might be a
It
understand
to
it,
complicated
figures when you get
Statement
SCREEN
RND
CIRCLE
OPEN
PRINT
PLAY
gn
13-1. DRAWING THE STARS
set the
We
color
entering
50
AUTO
15,5,1
uto
50
COLOR
2,3
68
SCREEN
N=1-T0
78
FOR
104
80 X=RNDC1)#255:V=RNDC1)4191
11
90
PSETCX,V),
108
HEXT
N
118
———
800 goto 800
can enter command clause
You
the screen
The color
of
THE ANIMATION
We have
been
operate the
to
FC-200
like
that
figures
and explain the
little
more difficult for you
but
able
be
will
you
and function available
COLOR
LINE
PAINT
PSET
SPRITE$
PUT SPRITE
THE SKY (SCREEN, COLOR,
IN
the sky and draw 100
of
(REM
determined
is
jj
generate
explaining
so far.
the
in
right
following
to draw more
used
to them.
GOTO
FOR-NEXT
SWAP
MOD
SIN
CLOSE
stars.
You
entering the program from
of
he
set
the
screen
color
2,
magnify the
SCREEN
assign
the positions of the
stars are
random,
colors are
yellow
go to
the
infinite
in
loop
statement)
until line 50.
by the
COLOR
C
#
'Mars'
sin
(Summary
of
the program)
The
draw the
programs
the
above
figure
like
And
generates
the
sound
it
the
by
statement.
play
activated by the
UFO is
statement.
PUT
SPRITE
RND)
mode
assign
auto
50
line
to 16x16
SPRITE
stars.
draw 100
state
of SCREEN 2.
statement
50.
line
on
one.
by

Advertisement

loading