Creating sprite sheets with TexturePacker


show more Creating sprite sheets with TexturePacker provides you with in-depth training on Developer. Taught by Lee Brimelow as part of the Building Flash Games with Starling show less
please wait ...

Creating sprite sheets with TexturePacker

So in the last movie I showed how you can incorporate images into your game using that Assets class and embedding the images there. But typically in a game you are going to have lots of different image files, and the problem with that, if you keep them all separated, is that everytime your game loads it's going to have to make multiple network requests. So if this game is embedded on the web, you don't want every single little image file to have to create a new network operation to get it.

What's better is to pack all of the graphics in your game into either a single image or sometimes you have too many and you have to go into, let's say, a second or a third, but packing them all together into a single image and this gives you numerous benefits. First of all again, you only have to make one network operation to get the image, and then the other is that you are not having to upload multiple textures on to the GPU, you essentially upload, in our case, it's going to be...

Creating sprite sheets with TexturePacker
Video duration: 6m 26s 2h 57m Intermediate

Viewers:

Creating sprite sheets with TexturePacker provides you with in-depth training on Developer. Taught by Lee Brimelow as part of the Building Flash Games with Starling

please wait ...