Creative COW SIGN IN :: SPONSORS :: ABOUT US :: CONTACT US
LIBRARY: TutorialsVideo TutorialsReviewsInterviewsEditorialsFeaturesBusinessAuthorsRSS FeedTraining DVDs

Tanx-AE: A Game for After Effects

Creative COW RSS Tutorials Feed
COW Library : Chris Zwar : Tanx-AE: A Game for After Effects
Tanx-AE: A Game for After Effects
A CreativeCOW After Effects Game


Tanx-AE
Chris Zwar Chris Zwar
Entertainment Media
South Melbourne, AUSTRALIA
©2004 Chris Zwar and CreativeCOW.net. All rights reserved.

Article Focus:
Everyone needs a diversion now and then, so Chris Zwar took some time to write a game in After Effects just to see if he could. Here's the result: Tanx-AE, the world's first game written for Adobe After Effects. Take a moment, download the aep and have some fun with this. It's for version 5.5 and up.


Download zipped AEP here

Tanx-AE is the world’s first game written for Adobe After Effects (ver 5.5 and up).

Tanx-AE is a 2 player game in which each player aims their tank at the other player’s by varying the angle of elevation of the tank’s barrel, and the power of each shell. The player who can find the correct combination of barrel elevation and power, to hit the other player’s tank first, is the winner.

Tanx-AE was inspired by an old game called “Tanx” which I used to play against my neighbour on the Commodore 64 more than 15 years ago. These were the days of typing in BASIC programs which were published in magazines, running on a machine which had a 1mhz processor, only 16 colours, and a TV as the monitor.



The obvious question is – Why? Why write (and play) a game using a graphics and compositing program?

The answer, quite simply, is to prove that you can. It also demonstrates how useful and interesting expressions can be. Tanx-AE demonstrates the power of expressions by using them to link together several After Effects compositions, which together make up the game.

Expressions are used throughout the After Effects project in a variety of ways including:
  • An expression is used to generate pseudo-random numbers, which produces the varying height of the terrain (and tanks) in a repeatable and calculable manner.
  • Expressions are used to render the landscape, automatically positioning small “land units” to create an overall terrain.
  • Expressions are used to allow each player to alter their tanks power and barrel elevation, using standard After Effects controls. The tank’s barrels raise and lower to match the settings entered by each player.
  • The trajectory and movement of each player’s shell is calculated using expressions.
  • Expressions are used for the collision detection, to see if a player has hit either the ground or the other player.
  • Expressions are used to determine which message is displayed at the end of each shot, and whether to display an explosion at the site of any impact.


Tanx-AE runs best on beefy machines with plenty of RAM, and a display size of at least 1024x768. It was written in After Effects 5.5 on a Mac. Future revisions of Tanx-AE will see the battle move to a 3D world, with the ability of the players to alter the position of their tank between shots, but this may have to wait for faster machines because it’s fairly slow already…

There’s some old saying about watching dancing bears at the circus – you don’t admire how well they dance, just that they dance at all. Keep this in mind when playing Tanx-AE.

Chris Zwar
Entertainment Media




Please discuss this technique in the After Effects forum at Creativecow.net




Please visit our forums and view other articles at CreativeCOW.net if you found this page from a direct link.




  Adobe After Effects Tutorials   •   Adobe After Effects ForumAdd Comment


Related Articles / Tutorials:
The Pen ToolThe Pen Tool
Adobe After Effects Tutorial, Video Tutorial
Controlling Zaxwerks ProAnimator Pivot-PointControlling Zaxwerks ProAnimator Pivot-Point
Zaxwerks Tutorial, Video Tutorial
The PusherThe Pusher
Adobe After Effects Tutorial, Video Tutorial
Spooky Wall TrackingSpooky Wall Tracking
Cinema 4D Tutorial, Video Tutorial
Tracking a 3D ObjectTracking a 3D Object
Cinema 4D Tutorial, Video Tutorial
AE: Quick Tips for Better Workflow: Part 2AE: Quick Tips for Better Workflow: Part 2
Adobe After Effects Tutorial, Video Tutorial
HP Skyroom: Power & Simplicity for Remote Workgroup TasksHP Skyroom: Power & Simplicity for Remote Workgroup Tasks
Windows Hardware & Software Review, Feature
HP SkyRoom: Sharing is NiceHP SkyRoom: Sharing is Nice
Windows Hardware & Software Feature
Trapcode Suite ReviewedTrapcode Suite Reviewed
Trapcode Review
Bessie PotterBessie Potter
Adobe After Effects Tutorial, Video Tutorial
MORE


FORUMSTUTORIALSMAGAZINETRAININGVIDEOS - REELSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

© CreativeCOW.net All rights are reserved.

[Top]