581 Tutorial 7

CPSC581.581Tutorial7 History

Hide minor edits - Show changes to markup

Changed lines 11-15 from:
to:

Variation

Download: Bouncing Animation variation (ZIP file)

This version combines two elements (an ellipse and a textblock) in a single animation by placing them in a canvas. It shows how canvases can be used to group elements so all can be animated as a unit. I also changed the animation so that animations are added in sequence, and typing generates new objects.

Added lines 1-14:

(:title 581 Tutorial 7:)

<< Back to the 581 tutorial overview page

Chaining animations, using timers for delay, bouncing animation example

Download: Bouncing Animation example (ZIP file)

This example includes an example of how to execute two animations in a sequence by using the 'Completed' callback and a timer. This is an easy way to execute two animations one after another -- but there are many other ways to do it.

http://www.nicolaimarquardt.com/ta/screenshots/bouncing1.png

http://www.nicolaimarquardt.com/ta/screenshots/bouncing2.png