LIBRARY: Tutorials Reviews Interviews Editorials Features Business Authors RSS Feed

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.






Related Articles / Tutorials:
Adobe After Effects
Imagineer mocha Pro 5 Plug-In for Adobe: An In Depth Review

Imagineer mocha Pro 5 Plug-In for Adobe: An In Depth Review

Imagineer mocha Pro 5 Plug-in for Adobe brings all the amazing features of the professional version of the mocha Planar Tracker directly into After Effects and Premiere Pro in the form of a plugin. In this in-depth review, After Effects tutorial guru Tobias Gleissenberger of Surfaced Studio will show you what you can do with this new plug-in, and discuss what he likes and doesn't like about the new update.

Tutorial
Tobias Gleissenberger
Adobe After Effects
After Effects 2015.3 - My Favorite Features

After Effects 2015.3 - My Favorite Features

Learn why you should upgrade to After Effects CC 2015.3 - 13.8.1 - a close and detailed look at the latest release of After Effects (August 2016). Roei Tzoref will be focusing on his favorite features that set this release apart from previous versions: Performance, Queue in AME, Lumetri Color new features, and more.

Tutorial
Roei Tzoref
Adobe After Effects
Advanced Masking in Adobe After Effects

Advanced Masking in Adobe After Effects

Some of the coolest stuff you can do inside of Adobe After Effects is only possible once you unlock the power of masks. Join After Effects whiz Tobias Gleissenberger of Surfaced Studio to learn about mask animation and interpolation, using the variable width feathering tool, managing mask modes and ordering, and more.

Tutorial
Tobias Gleissenberger
Adobe After Effects
Fixing Common After Effects Problems and Mistakes

Fixing Common After Effects Problems and Mistakes

Got problems using Adobe After Effects? Exported files too large, Expressions not working, mixing shapes and makes, modes/switches, selecting previews for layers vs. comps - Surfaced Studio's Tobias Gleissenberger shows you fast fixes for these and more!

Tutorial
Tobias Gleissenberger
Adobe After Effects
mocha AE Planar Tracker for Absolute Beginners

mocha AE Planar Tracker for Absolute Beginners

Want to learn how to create advanced visual effects? Learn how to use mocha AE to track your shot and add advanced visual effects to live action footage inside Adobe After Effects. mocha can help you track shots that would be hard to track using traditional 2D point or feature trackers because it is a PLANAR TRACKER. A planar tracker uses planes and textures to track as opposed to points or groups of pixels. This allows the tracker to stay on track even if your shot contains motion blur or a very shallow depth of field. mocha AE comes included with Adobe After Effects and is available since CS3 and there is no reason for you not to use this awesome tool to make it easier for you to track your shot, replace screens or rotoscope!

Tutorial
Tobias Gleissenberger
Adobe After Effects
How to Make After Effects Faster with Proxies

How to Make After Effects Faster with Proxies

Learn how to make Adobe After Effects faster by using PROXIES! A proxy is a placeholder that stands in place for a very large video file or image sequence in your project. You can easily create proxies for the large source files that you are using and After Effects will automatically link them to the item in your project panel.

Tutorial
Tobias Gleissenberger
Adobe After Effects
Stabilize & Smooth: mocha 5 Plug-in for Adobe & Avid

Stabilize & Smooth: mocha 5 Plug-in for Adobe & Avid

Imagineer Systems and Boris FX product specialist Mary Poplin shows you how to stabilize with the new mocha Pro 5 plug-in inside of Avid Media Composer, Adobe Premiere Pro and After Effects. This tutorial covers artistic stabilization, such as smoothing out camera movements or stabilizing around moving objects, completely locking down shots, and automatically replacing edge fill on planar backgrounds.

Tutorial
Mary Poplin
Adobe After Effects
Adobe After Effects Puppet Tool

Adobe After Effects Puppet Tool

Become a puppet master by learning how to use the Puppet Tool in Adobe After Effects! This intermediate-level tutorial from After Effects guru Tobias will show you how the Puppet Tool allows you to add joints and animations to bring life to any static image!

Tutorial
Tobias Gleissenberger
Adobe After Effects
How to Spawn A Clone in Adobe After Effects

How to Spawn A Clone in Adobe After Effects

Want to learn how to create a cool clone spawn effect in Adobe After Effects? Follow along with After Effects whiz Tobias from Surfaced Studio in this exciting new visual effects tutorial that combines green screen using Keylight, CC Vector Blur, the Liquefy Effect, CC Particle World, and much more, delivered in Tobias' inimitable style!

Tutorial
Tobias Gleissenberger
Adobe After Effects
Creating A Flame on Your Finger with After Effects

Creating A Flame on Your Finger with After Effects

It is easy to do some motion tracking and attach a basic stock footage element of fire onto your hands, but there is a little bit of work involved if you actually want to make it look good. In this intermediate tutorial by After Effects expert Tobias, you'll see how to use a fire stock footage element to set your thumb on fire! There are lots of useful tricks for null objects, expressions, and more in this tutorial that will help you create all sorts of other cool visual effects -- or set even more things on fire!

Tutorial
Tobias Gleissenberger
MORE
© 2016 CreativeCOW.net All Rights Reserved
[TOP]