Renegade: Difference between revisions
Appearance
Created page with " Renegade is programmed by the same programmer as Gryzor. == Technical == * Sprites are stored upside down in memory. * Sprites are stored as mode 0 with pen 0 as transparen..." |
|||
| Line 13: | Line 13: | ||
It is believed this is done so that drawing a sprite facing left, and drawing a sprite facing right will take the same cpu time and so that the frame rate will remain more constant. | It is believed this is done so that drawing a sprite facing left, and drawing a sprite facing right will take the same cpu time and so that the frame rate will remain more constant. | ||
==Links== | |||
*{{CPCPower|146}} | |||
Revision as of 15:05, 7 November 2013
Renegade is programmed by the same programmer as Gryzor.
Technical
- Sprites are stored upside down in memory.
- Sprites are stored as mode 0 with pen 0 as transparent.
- Sprites are flipped by code in realtime (e.g. the facing right sprite is a flip of the facing left sprite).
- Some parts, such as the blue jeans are seperate, so some characters are composed from more than one sprite.
- Sprites are stored as follows:
1 byte normal (to write to mode 0 screen), followed by 1 byte with pixels swapped, then this repeats.
It is believed this is done so that drawing a sprite facing left, and drawing a sprite facing right will take the same cpu time and so that the frame rate will remain more constant.