You can animate your buttons in PlayFilm by the use of sprites. A sprite is a very light animated image, similar in concept to a GIF image, but with a few characteristic differences. You may probably have never heard of a sprite –except for the colourless lime-flavoured soft drink– although it is very likely that you have seen one without being aware of it.
Through this article we define them as well as how to use them. What is a sprite? Technically, sprite refers to a series of images put together in the same file one next to the other representing the same object in different positions which, in quick succession, simulate movement. As opposed to an animated GIF file, all images are visible at once –all opened on a canvas and equidistant from each other– and can be coded in an image format lighter, usually PNG, but also SVG.
PlayFilm reads the code on that canvas and created a cyclical animation based on the position of the objects. Besides, if it is about a SVG file, it is possible to enlarge it with no loss of resolution. The use of animated sprites is supported by the interactivity Mighty Button, for Infinite Content callers and for the Custom Counter customization when it’s Type: Image. You can also use sprites as simple media file when you just need an animation effect.