PixelPerfectEngine.graphics.layers.trnstilelayer

Undocumented in source.

Public Imports

PixelPerfectEngine.graphics.layers.base
public import PixelPerfectEngine.graphics.layers.base;

Members

Classes

TransformableTileLayer
class TransformableTileLayer(BMPType = Bitmap16Bit, int TileX = 8, int TileY = 8)

Implements a modified TileLayer with transformability with capabilities similar to MODE7. <br/> Transform function: [x',y'] = ([A,B,C,D] * ([x,y] + [sX,sY] - [x_0,y_0])>>>8 + [x_0,y_0] <br/> All basic transform values are integer based, 256 equals with 1.0 <br/> Restrictions compared to standard TileLayer: <ul> <li>Tiles must have any of the following sizes: 8, 16, 32, 64; since this layer needs to do modulo computations for each pixel.</li> <li>In future versions, map sizes for this layer will be restricted to power of two sizes to make things faster</li> <li>Maximum layer size in pixels are restricted to 65536*65536 due to architectural limitations. Accelerated versions might raise this limitation.</li> </ul> HDMA emulation supported through delegate hBlankInterrupt.

Meta