![]() Thus instead of storing each animation frame in separate files, and having to do multiple server calls to fetch each file to render the animation, a sprite sheet can instead store all the animation in a single image file that is downloaded once (just one server call) when the page is loaded. The idea behind using a sprite image is to use one single image that contains all animations of a character instead of dealing with multiple server calls to multiple single files. png file), which has six figures drawn within it ( It is not six separate files but a single file). Image1 (shown above) is a single sprite image (i.e. png) which has multiple drawings within that single image. What is a Sprite Image or a Sprite Sheet?Ī sprite image is simply a single image file (in. Again make sure it is the link to the image (i.e. If you want to use your own image you can upload the image to a service like, which is a free image hosting service (no login required), and it will give you a link for your image. (Copyright disclaimer: This image is being used for educational purposes only) Image Credit: Andreas Loew, creator of TexturePacker Image 1: single sprite image (spritestrip.png)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |