Download Print this page

Goldstar FC-200 Operating Instructions Manual page 82

Family computer

Advertisement

SPRITE
=
$
(n)
PUT SPRITE
(n)
Gl
number
plane
Position
sprite pattern.
of
*NOTE*
The assignment
e
dot and
16x16
The
from line
e
program
$
600
SPRITE
(5)
$
+
CHR
H30)
(&
+CHR
$
H24)+CHR
(&
Activating trapping
e
can activate trapping
You
608
SPRITE$(5)=A%
Xi=-15:X2=255:K=2
618
628
X=Xi
FOR
630
Y=SINCT)*30+590+Xx*, 25
8-30
648
Yi=X*,
658
SPRITE
PUT
668
SPRITE
PUT
678
T=T+RxiS:NEXT
680
X1,X2:K=-K
SWAP
690
629
GOTO
The
explanation
of
The 5th
of
pattern
and the end
position,
moved continuously on
have the
5th
that
crementing the value
calculates the movement
630
Line
Watch out how
it
the
640
vertical direction).
(in
(string
line)
m
C,
Y),
(X,
naren
[
|
the
color
of
sprite positions
dot patterns.
to
line
510
(&
H24) +
=CHRS$
+CHR
$
H7E)
(&
$
(& HO)
sprite
of
of
SPRITE
ii
STEP
TO X2
K
5,
(X%,Y),15,5
CXx1,5,V1);11,5
6:
X
above
the
program.
assigned
sprite
is
the
of
position
610. Lines 620
line
moved from
sprite
pattern
of
of
step
K.
movement
moving. The
is
sprite pattern.
the
of
the pattern.
of
done
the
is
on
upper-left
600
identical to
is
$
CHR
(&18)
to be assigned.
Position
with the infinite loop.
assigns
ET
calculates the
calculates the
up
re-assigns the
and
get the U.F.O to be moved
_
the
reverse
in
600. The moving range,
line
on
U.F.O
are assigned
and
670
are
position to
X1
of PLANE
5 (in
of PLANE 6 is
=_80=
of 8x8
corner
the
followings;
the
value and
initial
movement
of
plane
movement
plane
of
sprite attributes
plane
on
and step
value
initial
direction.
the start
have the
U.F.O
to
clause
FOR—NEXT
by in-
X2
position
the vertical direction).
calculated
on
step
5
6
Loop
line

Advertisement

loading