Awesome Animator News

Archive for July, 2011

Using APE Physics Engine with Awesome Animator – Part 2

by Administrator on Jul.23, 2011, under Scripting

In this post we shall delve into using a pre-built physics library (namely APE by Alec Cove). This is a set of AS3 classes. First download them off the the APE website. Next copy all the files in each of the demo folders into the source folder. This is so the source files can be found by Awesome Animator. (Make sure you have the latest version). Now open the script window and go to AS3 > Import class… and choose the CarDemo.as for example. We set CarDemo as the main class and parse everything. Next we can close the script window and decorate the background. What we end up with is something that looks like this:
(The keys are ‘A’ for go and ‘D’ for reverse)

Other things we could do is modify the colours in the CarDemo constructor or class file to change the colours of the robot and obstacles.

You may find it useful to download the Flash debug projector when working with scripts. It can be found on the Adobe website.

 

Leave a Comment more...

Using APE Physics Engine with Awesome Animator – Part 1

by Administrator on Jul.23, 2011, under Scripting

In this post we shall delve into using a pre-built physics library (namely APE by Alec Cove). This is a set of AS3 classes. First download them off the the APE website. Next copy all the files in each of the demo folders into the source folder. This is so the source files can be found by Awesome Animator. (Make sure you have the latest version). Now open the script window and go to AS3 > Import class… and choose the RobotDemo.as for example. We set RobotDemo as the main class and parse everything. Next we can close the script window and decorate the background with some clouds. What we end up with is something that looks like this:
(The keys are ‘P’ for go and ‘R’ for reverse)

Other things we could do is modify the colours in the RobotDemo constructor or class file to change the colours of the robot and obstacles.

You may find it useful to download the Flash debug projector when working with scripts. It can be found on the Adobe website.

Leave a Comment more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Blogroll

A few highly recommended websites...

Archives

All entries, chronologically...