Difference between revisions of "Renegade"

From CPCWiki - THE Amstrad CPC encyclopedia!
Jump to: navigation, search
(Technical)
Line 12: Line 12:
  
 
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.
 +
 +
* Supports 128K RAM. All parts are loaded at once.
  
 
== Video ==
 
== Video ==

Revision as of 12:32, 28 January 2014

Renegade is a 1987 game 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.

  • Supports 128K RAM. All parts are loaded at once.

Video

{{#ev:youtube|Fc8GDlw2nys|450}}

Links