PixelPerfectEngine.graphics.layers

Undocumented in source.

Public Imports

PixelPerfectEngine.graphics.bitmap
public import PixelPerfectEngine.graphics.bitmap;
PixelPerfectEngine.graphics.common
public import PixelPerfectEngine.graphics.common;

Members

Classes

EffectLayer
class EffectLayer

Puts various effects on the framebuffer (XOR blitter, etc).

Layer
class Layer

The basis of all layer classes, containing functions for rendering. TODO: Move rendering functions to an external library.

SpriteLayer
class SpriteLayer

General-purpose sprite controller and renderer.

TileLayer
class TileLayer

General purpose TileLayer with palette support, mainly for backgrounds. Use multiple of this class for paralax scrolling. Can use any kind of bitmaps thanks to code restructuring.

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>Only a single type of bitmap can be used and 4 bit ones are excluded.</li> <li>8 bit tiles will share the same palette.</li> <li>Tiles must have any of the following sizes: 8, 16, 32, 64.</li> <li>Maximum layer size in pixels are restricted to 65536*65536</li> </ul> HDMA emulation supported through delegate hBlankInterrupt.

Enums

LayerRenderingMode
enum LayerRenderingMode

Sets the rendering mode of the TileLayer.

Interfaces

ISpriteCollision
interface ISpriteCollision

Used by the collision detectors DEPRECATED! Use the new system instead!

ISpriteLayer
interface ISpriteLayer

General SpriteLayer interface.

ITileLayer
interface ITileLayer

Tile interface, defines common functions.

SpriteMovementListener
interface SpriteMovementListener

Use it to call the collision detector

Structs

MappingElement
struct MappingElement
Undocumented in source.

Meta