Commodore 64 Manual de usuario Pagina 73

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 83
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 72
LINE 40:
PRINTTAB(160)
I AM THE
DANCING
MOUSE!
mil"
LINE 45:
P= 192
LINE 50:
FORX=OT0347
STEP3
Tabs 160 spaces from the top lefthand CHAR-
ACTERSPACEon the screen, which is the same as
4 rows beneath the clear command. . . this starts
your PRINT message on the 6th line down on the
screen.
Hold down the
B8 key and press the key
marked
11II at the same time. If you do this
inside quotation marks, a "reversed E" will ap-
pear. This sets the color to everything PRINTed
from then on to WHITE.
This is a simple PRINT statement.
This sets the color back to light blue when the
PRINT statement ends. Holding down
m and
II at the same time inside quotation marks
causes a "reversed diamond symbol" to appear.
Sets the variable P equal to 192. This number 192
is the pointer you must use, in this case to "point"
sprite 0 to the memory locations that begin at lo-
cation 12288. Changing this pointer to the loca-
tions of the other two sprite shapes is the secret of
using one sprite to create an animation that is
actually three different shapes.
Steps the movement of your sprite 3 X positions at
a time (to provide fast movement) from position 0
to position 347.
PROGRAMMING GRAPHICS 171
Vista de pagina 72
1 2 ... 68 69 70 71 72 73 74 75 76 77 78 ... 82 83

Comentarios a estos manuales

Sin comentarios