Book Review – Learn PIXI.JS

So, let the review begin šŸ™‚

Pixi.JS is a rather small IT book of 200 pages, which you may read quite quickly, if you do not make the examples from the test code. However, this is an ITĀ book, thus you should try to do the examples and even make them broader, if possible. So let’s start.

What is the book about? It learns you to use the Pixi.js graphic rendering engine by example. It assumes some pre-knowledge on JS, as far as the jsĀ basics are not explained in the book, but this is also not what the book is all about. It is all about making nice things with Pixi.js, Ā and for the authorĀ the nice things are games. As he mentions, if you can make games with PIXI.js, you can probably do anything with it (which is probably true for any programming language, by the way).

So, the book is really about the games. In 7 chapters, you learn how to use Pixi and some other libraries to make sprites, move and animate them, make shapes and make games. Which is pretty useful and enough to get a working game like this (the game is presented in chapter 7 of the book):

gamepixi

 

I would like to pay special attention to the introduction, which is really well-written (I enjoyed it) and where you learn how to set the PIXI environment. In the next chapters, the author uses simple language to explain the ideas behind PIXI. Furthermore, the provided code is full of useful comments, which help you grasp his ideas. Last but not least, the whole code is freely available online at the site of Apress.Com, so you can take a look at it and decide yourself on whether to buy the book or not. Just one note – if you download the code, do not open it with Chrome, but with Firefox. Due to some reasons, Chrome did not want to run on my PC (probably because of some security levels or simply because I did not have a server installed).

I personally went deeperĀ into PIXI and I have developed a small game with hitting boxes, with some librariesĀ and ideasĀ from the book. The game definitely can become better, but I enjoyed doing it and this is what matters at the end of the day!:pic4

The verdict:

If you are looking for a PIXI book, written in a great & easy language with examples – that’s a good match! Enjoy it!