Hello all,
I've been working on a game and I'm using TJ's skipDraw routine to draw the player graphics. It's a great routine, but the one drawback is that all graphics have to be located in the upper portion of a page for the dcp to work correctly. This doesn't leave too much room for graphics (I need about 16 8x8 sprites). How do people get around this limitation (if I understand it correctly)? Is the only solution to store graphics in the upper portion of mulitple pages? I was hoping
I'm not sure exactly what you mean...
SwitchDraw.
Pros: faster and a little more flexible. Takes 15 cycles for single-colored sprite, 21 cycles for a multi-colored sprite. Also, the sprite's height can be variable.
Cons: only can use with Y values between 0 and 127. Don't save any RAM by having fixed-height sprites. Kind of a pain to setup the pointers and accompanying variables. Requires graphic data to be carefully placed in ROM.
SkipDraw:
Pros: takes a little (1 byte) less RA