O'Reilly logo

Learn Pixi.js: Create Great Interactive Graphics for Games and the Web by Rex van der Spuy

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 6

image

Visual Effects and Transitions

Pixi is a high-powered 2D rendering engine packed with all kinds of useful tools to help you make spectacular visual effects with minimal effort. In this chapter, you’re going to learn all the techniques and code you need to know to get those tools working for you quickly, including the following:

  • Tiling sprites. A quick way to scroll a seamlessly repeating pattern
  • Texture effects. Specialized methods for working with textures
  • Tinting. Changes a sprite’s color
  • Masking. A shape that hides any part of the sprite that’s outside of the shape’s area.
  • Blend modes. Determine how semitransparent sprites blend ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required