Game Development Reference
In-Depth Information
Adding animations using a texture atlas
We have already learned about animations even before learning how to use textures for
loading images from App Bundle . As we have a texture atlas (that is, a larger combined
image), we will be loading the images by that texture atlas. All sprites added in the
FSMyScene file are loaded by the images from the App Bundle , so now we will be
loading all the images by the texture atlas in the sprite. Lastly, some animations will be ap-
plied to them using the texture atlas to load the images.
Search WWH ::




Custom Search