Learn Pixi.js pp 121-144 | Cite as

Animating Sprites



So far in this book, you’ve learned how to make sprites, move them, and make them interactive. But what if you want to make a game character that can flap its wings, or move its arms and legs to walk around the game world? You have to use a technique called keyframe animation: displaying a series of slightly different images in sequence to create the illusion of motion. Pixi has some built-in tools to make keyframe animation easy, and that’s what this chapter is all about.


Particle Effect Game World State Player Setup Function Game Character 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© Rex van der Spuy 2015

Authors and Affiliations

  1. 1.OntarioCanada

Personalised recommendations