Plugin Documentation

PixiJS Plugin replaces the default Canvas renderer with fast PixiJS powered WebGL renderer. If WebGL is not supported, it will fallback to the default Canvas renderer.

Filters

Plugin includes these WebGL filters:

AdjustmentFilter
AdvancedBloomFilter
AsciiFilter
BloomFilter
BlurFilter
BlurXFilter
BlurYFilter
BulgePinchFilter
CRTFilter
ColorMatrixFilter
ColorReplaceFilter
ConvolutionFilter
CrossHatchFilter
DisplacementFilter
DotFilter
DropShadowFilter
EmbossFilter
FXAAFilter
GlitchFilter
GlowFilter
GodrayFilter
KawaseBlurFilter
MotionBlurFilter
MultiColorReplaceFilter
NoiseFilter
OldFilmFilter
OutlineFilter
PixelateFilter
RGBSplitFilter
RadialBlurFilter
ReflectionFilter
ShockwaveFilter
SimpleLightmapFilter
TiltShiftAxisFilter
TiltShiftFilter
TiltShiftXFilter
TiltShiftYFilter
TwistFilter
VoidFilter
ZoomBlurFilter

Filters API documentation

Example usage of filter:

var sprite = new game.Sprite('panda.png');
var filter = new game.filters.BlurFilter();
sprite.filters = [filter];

Filter example

Meshes

Example usage of mesh:

var points = [];
points.push(new game.Vector(0, 50));
points.push(new game.Vector(194, 100));
points.push(new game.Vector(388, 50));

var texture = game.Texture.fromAsset('panda.png');
var mesh = new game.mesh.Rope(texture, points);

Mesh example

Mesh API documentation

Releases

1.2.2

  • Fixed addText error with latest 2.7.0 engine

1.2.1

  • Fixed rotation support in WebGL textures

1.2.0

  • Added meshes

1.1.3

  • Fixed _drawHitArea error

1.1.2

  • Fixed TilingSprite rendering on hires

1.1.1

  • Fixed filters on hires mode