Using speed
In this recipe, you will animate a graphic by alternating between three buttons. Each button will animate the graphic in a linear motion but each at a different frame rate. The default frame rate for all animations is 25 frames per second (FPS). Depending upon your animation needs, you might need to decrease or increase the speed of selected animations in your mobile apps.
Getting ready
Before using this recipe, you will need to have the Animation Engine external downloaded and available on your development computer. See the Setting up Animation Engine recipe discussed earlier in this chapter.
How to do it...
Follow the steps in this recipe to change the speed of animations using Animation Engine:
Open LiveCode.
Create a new main stack.
Open the
animationEngine
stack. With LiveCode already running, you can simply double-click on theanimationEngine.livecode
file.Once you complete the previous steps, you will see the animationEngine window with a Use me! checkbox (see the following screenshot...