Creative COW SIGN IN :: SPONSORS :: ADVERTISING :: ABOUT US :: CONTACT US
Creative COW's LinkedIn GroupCreative COW's Facebook PageCreative COW on TwitterCreative COW's Google+ PageCreative COW on YouTube
LIBRARY:TutorialsVideo TutorialsReviewsInterviewsEditorialsFeaturesBusinessAuthorsRSS FeedTraining DVDs

Tanx-AE: A Game for After Effects

COW Library : Adobe After Effects Tutorials : 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 Forum
Reply   Like  
Share on Facebook


Related Articles / Tutorials:
Adobe After Effects
Creative Fireworks in Adobe After Effects

Creative Fireworks in Adobe After Effects
  Play Video
Rob Mize shares his techniques for using After Effects to create a variety of fireworks displays. All you need is CC Particle World, a few expressions and a reason to celebrate and you can light up your world with dazzling pyrotechnic effects.

Tutorial, Video Tutorial
Adobe After Effects
GenArts Sapphire 7: Must-Have VFX Plug-ins for AE & Avid

GenArts Sapphire 7: Must-Have VFX Plug-ins for AE & Avid

Frequent COW Contributing Editor Kevin P. McAuliffe reviews the latest version of GenArts Sapphire plug-in effects filters for both Adobe After Effects and Avid AVX versions, with ratings for current and new Sapphire users. Kevin also observes Sapphire's ability to plug into other NLEs and finishing systems, and takes a closer look at its licensing options, including purchasing, monthly rental and site licenses. You'll definitely want to see the latest and greatest of what this must-have software package has to offer.

Review, Feature
Adobe After Effects
AE - RE:MATCH Non-matching Cameras in After Effects

AE - RE:MATCH Non-matching Cameras in After Effects
  Play Video
In this tutorial, Andrew Devis demonstrates a relatively new plug-in by RE:Vision Effects called RE:Match and how it can very quickly and accurately deal with the very common problem of non-matching cameras in After Effects. A typical approach to dealing with say a white balance issue would be to apply Color Finesse 3 and work with that which can be a slightly convoluted process, while RE:Match deals with the whole thing in a couple of clicks! This very powerful effect can save a great deal of time for an everyday problem and so earn its cost back very quickly as well as giving excellent and fast results. There is another tutorial showing how this effect works in Premiere Pro as there is a slightly different way the two applications deal with reference images.

Tutorial, Video Tutorial
Adobe After Effects
IK Character Animation: Walk to the Beat 1: Finding the Beat

IK Character Animation: Walk to the Beat 1: Finding the Beat
  Play Video
This tutorial is both a follow-on tutorial to Andrew's previous tutorials on IK controllers in After Effects and a helpful stand-alone tutorial showing how to define a beat range to use as a guide to animation in After Effects. To start with Andrew shows how to use a simple expression to deal with a potential problem of controllers scaling your objects. Then Andrew shows how to find and download sample music which can be used to base your animation on. He goes on to discuss the difficulty of matching frame rates with audio sample rate and then shows how to get a reasonably close 'loop' in both After Effects and especially in Audition.

Tutorial, Video Tutorial
Adobe After Effects
Pushing AE - And Myself

Pushing AE - And Myself

Bill O'Neil helps celebrate 20 years of Adobe After Effects with his story. Bill reveals his secret, "I learned how to use AE by making promises to my clients I didn't know I could keep."

Editorial, Feature
Adobe After Effects
AE: Inverse Kinematic Character Animation

AE: Inverse Kinematic Character Animation
  Play Video
Standard character animation in After Effects uses a process called 'Forward Kinematics' in that we animate down a linked chain - for example, upper arm linked to forearm linked to hand. To get animation we need to move the items down the chain one at a time. Inverse Kinematics creates a link back up the chain such that moving the hand would also move the forearm and the upper arm without breaking that link. This is a simpler and easier to control form of animation often used in 3D programs such as C4D and 3ds max etc. and allows us to control the animation for the complete chain through a single controller.

Tutorial, Video Tutorial
Adobe After Effects
AE: Inverse Kinematic Character Animation PT 2

AE: Inverse Kinematic Character Animation PT 2
  Play Video
Standard character animation in After Effects uses a process called 'Forward Kinematics' in that we animate down a linked chain - for example, upper arm linked to forearm linked to hand. To get animation we need to move the items down the chain one at a time. Inverse Kinematics creates a link back up the chain such that moving the hand would also move the forearm and the upper arm without breaking that link. This is a simpler and easier way to control animation and is often used in 3D programs such as C4D and 3ds max etc. and allows us to control the animation for the complete chain through a single controller.

Tutorial, Video Tutorial
Adobe After Effects
Creating Reflections in After Effects WITHOUT Plug-ins!

Creating Reflections in After Effects WITHOUT Plug-ins!
  Play Video
In this tutorial, Steve will show you how to give your text or logos the appearance of having reflections that interact movement! And you can do all of this in After Effects without using any plug-ins!

Tutorial, Video Tutorial
Adobe After Effects
Advice To Editors: LEARN AE!

Advice To Editors: LEARN AE!

Kevin McAuliffe's experience has been that all editors need to know Adobe After Effects at least as well as their NLE. His own experience has been that anything less than intermediate to advanced knowledge makes it impossible to actually get anything done. Even working with the compositing power of Avid Symphony, Kevin is in AE all day, every day. Here's the story of how he got there.

Editorial, Feature
Adobe After Effects
Prisoner To My Passion

Prisoner To My Passion

"I don't know if it's addiction or adoration, but one way or the other, I'm hooked on her," says Creative COW's Rob Mize. "The signs are all there: the obsession with After Effects, the inability to function without After Effects there next to me on my laptop, waiting to be clicked. And the torment of each moment spent suffering any separation from my cherished compositor. Is it any wonder that I, a once innocent naïf in an analog world, now find myself enraptured by this non-linear, digital Delilah?"

Editorial, Feature, People / Interview
MORE


FORUMSTUTORIALSMAGAZINESTOCKYARDVIDEOSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

Creative COW LinkedIn Group Creative COW Facebook Page Creative COW on Twitter
© 2013 CreativeCOW.net All rights are reserved. - Privacy Policy

[Top]