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 1

image

Making Sprites

The basic building block for making things with Pixi is an object called a sprite. Sprites are just images that you can control with code. You can control their position, size, and a host of other properties that are useful for making interactive and animated graphics. Learning to make and control sprites is really the most important thing about learning to use Pixi. If you know how to make and display sprites, you’re just a small step away from starting to make games or any other kind of interactive application.

In this chapter, you’re going to learn everything you need in order to display and position sprites on Pixi’s ...

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