Component_ImageAnimation Class
Executes a image-based animation.
Methods
changeImages
(
-
images
-
duration
-
easingType
-
[callback]
A simple image animation runs from left to right using the game object's image-property.
Parameters:
-
images
ArrayAn array of image names.
-
duration
NumberThe duration in frames.
-
easingType
ObjectThe easing-type.
-
[callback]
Function optionalAn optional callback called if blending is finished.
toDataBundle
()
Serializes the image-animation into a data-bundle.
update
()
Updates the image-animation.
Properties
easing
gs.Easing
The easing-object used for the animation.
images
String
The images to animate through.