Animation loading: specify the number of different kinds.

Until now it was hardcoded to 8 as we have 8 directions in flare-game.