
CLIPPED SPRITES
As noted above, sprites will be partially or totally clipped if they pass across or beyond the
boundaries of the display window. The values of 64 (horizontal) and 44 (vertical) are
"normal" for a centred display on a standard NTSC video monitor. See Chapter 3,
"Playfield Hardware", for more information on display offsets. Information on PAL displays
will be found there. If you choose other values to establish your display window, your
sprites will be clipped accordingly.
SIZE OF SPRITES
Sprites are 16 pixels wide and can be almost any height you wish... as short as one line or
taller than the screen. You would probably move a very tall sprite vertically to display a
portion of it at a time.
Sprite size is based on a pixel that is 1/320th of a screen's width, 1/200th of a NTSC
screen's height, or 1/256 of a PAL screen's height. This pixel size corresponds to the low-
resolution and non-interlaced modes of the normal full-size playfield. Sprites, however,
are independent of playfield modes of display, so changing the resolution or interlace
mode of the playfield has no effect on the size or resolution of a sprite.
SHAPE OF SPRITES
A sprite can have any shape that will fit within the 16-pixel width. You define a sprite's
shape by specifying which pixels actually appear in each of the sprite's locations. For
example, Figures 4-3 and 4-4 show a spaceship whose shape is marked by Xs. The first
Figure shows only the spaceship as you might sketch it out on graph paper. The second
Figure shows the spaceship within the 16-pixel width. The 0s around the spaceship mark
the part of the sprite not covered by the spaceship and transparent when displayed.
x x
x x x x x
x x x x x x x x x x
x x x x x x x x x x
x x x x x x
x x
Figure 4-3: Shape of Spaceship
- Sprite Hardware 97 -
Содержание Amiga A1000
Страница 1: ...AMIGA HARDWARE REFERENCE MANUAL 1992 Commodore Business Machines Amiga 1200 PAL...
Страница 20: ...Figure 1 1 Block Diagram for the Amiga Computer Family Introduction 11...
Страница 21: ...12 Introduction...
Страница 72: ...Figure 3 12 A dual Playfield display Playfield Hardware 63...
Страница 87: ...Figure 3 24 Horizontal Scrolling 78 playfield hardware...
Страница 101: ...92 Playfield Hardware...
Страница 199: ...Figure 6 9 DMA time slot allocation 190 Blitter hardware...
Страница 203: ...Figure 6 13 Blitter Block Diagram 194 Blitter Hardware...
Страница 229: ...220 System Control Hardware...
Страница 246: ...Figure 8 8 Chinon Timing diagram cont Interface Hardware 237...
Страница 265: ...256 Interface Hardware...
Страница 289: ...280 Appendix A...
Страница 297: ...288 Appendix B...
Страница 298: ...APPENDIX C CUSTOM CHIP PIN ALLOCATION LIST NOTE Means an active low signal Appendix C 289...
Страница 302: ...APPENDIX D SYSTEM MEMORY MAP Appendix D 293...
Страница 343: ...334 Appendix F...
Страница 351: ...342 Appendix G...
Страница 361: ...352 Appendix H...
Страница 367: ...358 Appendix I...