2015 | OriginalPaper | Chapter
10. Tweening
Published in:
Advanced Game Design with HTML5 and JavaScript
Abstract
is an animation technique that you can use to make a sprite change its appearance or position over time in very specific ways. You can use tweening to make a sprite move along a fixed path or curve, or make a sprite fade in, fade out, pulse, or wobble. Using tweening effects will add a whole new dimension of interactivity and engagement to your games that will make them come alive in new and exciting ways.