# Bounce Animation

Back to the list of News Animations

A bouncing ball on a square. This is a very simple animated sprite which is itself animated in the main timeline. It looks like a somewhat complicated movement, however, because it is broken up, the code looks very simple. The ball moves using a sin() function. And the sprite is moved from left to right adding 2 to its horizontal position on each frame.

Copyright (c) 2002-2009 Made to Order Software Corp.