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:
-
imagesArrayAn array of image names.
-
durationNumberThe duration in frames.
-
easingTypeObjectThe 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.
