EasyManua.ls Logo

Commodore 128 - Page 289

Commodore 128
448 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
MONITOR
Enter the Commodore 128 machine language monitor
MONITOR
See Appendix J for details on the Commodore 128 Machine
Language Monitor.
MOVSPR
Position or move sprite on the screen
MOVSPR number,x1,y1
Place the specified sprite at absolute coordinate x,y (scaled).
MOVSPR number,+|- x, +|- y
Move sprite relative to its current position.
MOVSPR number,X;Y
Move sprite distance X at angle Y relative to its current position.
MOVSPR number,x angle #y speed
Move sprite at an angle relative to its original coordinates, in the
clockwise direction and at the specified speed.
where:
number is sprite’s number (1 through 8)
<,x1,y1> is coordinate of the sprite location (scaled)
ANGLE is the angle (0-360) of motion in the clockwise direction
relative to the sprites original coordinate.
SPEED is a speed (0-15) at which the sprite moves.
This statement locates a sprite at a specific location on the
screen according to the SPRITE coordinate plane (not the bit
map plane) or initiates sprite motion at a specified rate. See
SPRMOV in Section 6 for a diagram of the sprite coordinate
system.
17-47

Table of Contents

Other manuals for Commodore 128

Related product manuals