Sprite Sheets are a great way to reduce the number of image requests and quickly swap textures for elaborate animations. There are many ways to create sprite sheets, but the easiest approach is using a…
Tag: pixijs
PixiJS Filters
Filters allow you to apply post processing effect on objects. These allow you to apply many different pixel based effects similar to filters in tools like photoshop, such as blur. To apply filters to a…
PixiJS Graphics API
For dynamically drawing content PixiJS has a Graphics display object with a drawing API. This allows us to draw 2D graphics with commands similar to the 2D canvas API. The graphics object needs to be…
PixiJS Sprites
Sprites are display objects that render a texture. They take a single texture as a parameter. Like all display objects they need to be added to our stage in order to render. let sprite =…
PixiJS Texture Loading
PixiJS stores all its textures inside a texture cache which can be accessed in PIXI.utils.TextureCache. To load textures into the cache you need to use a loader. This can be done by creating a new…
PixiJS Renderer, Ticker & Stage
In the last post I showed you how to get up and running quickly in PixiJS. In this episode I want spend some time diving a bit deeper into the basics of PixiJS. To do…
PixiJS Getting Started
To download the latest version of PixiJS you can check the releases tab of the github repository here. Because of browser security restrictions loading local assets directly will result in CORS errors. We’ll need to…
PixiJS Introduction
PixiJS is a 2D Graphics Rendering framework for the web. It was created by Matt Groves to normalize the canvas and webgl APIs into a simple scene graph originally modeled loosely on the Flash API. Its primary…