Renegade

From CPCWiki - THE Amstrad CPC encyclopedia!
Revision as of 11:05, 7 November 2013 by Morn (Talk | contribs) (Technical)

Jump to: navigation, search

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.

Links