Download Print this page

Goldstar FC-200 Operating Instructions Manual page 68

Family computer

Advertisement

7: DRAWING
CIRCLE (CIRCLE STATEMENT)
A
statement
CIRCLE
(center
CIRCLE
the contents
ratio).
If
the start angle, the
respectively.
used as
A
radian
is
CET
ETE
20
2:C=2
SCREEN
TO
X=o
38
FOR
VI=SIN(443.1416%X/255)%30+50
58
V2=COS(4%3.1416%X/255)%30+148
68
CIRCLECX,Y1),7,C
78
CIRCLE(X,V2),7,C+1
88 C=C+1:IF
C>14
99
NEXT
X
188
100
60TO
PAINTING (PAINT STATEMENT)
statement
The
PAINT
statement and
LINE
PAINT
(start coordinate), (specified color), (border color)
with
graphic
figure
insert
(Ex)
If
you
the
between
previous
circle,
you
the specified
ACTIVITING PICTURES (SPRITE FUNCTION)
.
repeating the
By
can activate the pictures
dinates
you
called
nient way
SPRITE?
WHAT
IS
1)
activate one picture,
When you
repeating the
The
SPRITE
a
pattern.
as
is
follows;
coordinate), radius, color, ((start
square bracket
the
in
erd
and the
(angle)
angles.
unit of
a
255, STEP 16
C=2
THEN
is
fill
used
to
statement
CIRCLE
the specified
color.
the
right
program
of
appopriate
lines
draws
that
program
fill
the circle
in
can
color
statement and
PSET
function"
"'SPRITE
and
PSET
PRESET
consider
to
function
is
_66—-
angle, end
are
omitted,
((
))
ratio
aspect
360e=2
(Ex)
Radians
ë
The right program
i
(Ex.)
circle
continuously
sine and cosine
of
i
arbitrary graphic
in
an
with
color.
one
EEP
the
ee
a
with
statement
PSET
the screen.
on
available
MSX BASIC.
is
in
inconvenient
is
it
statement.
pattern and
picture as
a
a
aspect
angle,
the defaults
and
be
0°,
360°
will
radians=2*
3.1416
draw
to
í
is
means
by
functions.
i
i
figure drawn by
an drawn
fills
in
ie
Gi
;
and
changing
coor-
But much more
conve-
to move
one
point
it
activate
for
1
a
the
by
as

Advertisement

loading