File: animation.txt

Recommend this page to a friend!
  Classes of Stephen Chapman   dollar E   animation.txt   Download  
File: animation.txt
Role: Documentation
Content type: text/plain
Description: documentation for example
Class: dollar E
Manage events and get their properties
Author: By
Last change:
Date: 9 years ago
Size: 531 bytes
 

Contents

Class file image Download
The animation example demonstrates how the dollarE, dollarB and dollarO classes can be used together to animate multiple objects by having them move around the page following their own paths - in this example one follows a triangular path while the other selects a new point on the screen at random each time it reaches the previously selected end point. The dollarE class is used to both keep the objects from being affected by the page scrolling behind them and also to stop the objects moving if you move the mouse over them.