1. Computing & Technology

Discuss in my forum

Making Your Own Flash Slingshot Target Game: I

By , About.com Guide

With all that setup out of the way, we can focus on a few more detailed individual steps.

The motion that we’ve set up now is eternally repetitive in a looping movie clip, but we want to also animate something different happening when you hit them with a stone from the slingshot. Rather than have to swap out one movie clip for another, we want to just add this animation inside the movie clip grouping all of the different nested animations, while still making sure that the original cycling motion set up doesn’t move on to the “reaction” animation until we tell it to.

First I’ve edited the movie clip that creates my up-and-down bouncing animation, one level down from the one that adds the side-to-side motion. All I’ve done is added on a few frames at the end of the sequence of eighty frames that detail four up-and-down cycles before repeating; on the frames I’ve added, I’ve made the squishy come back down to the ground and kind of….bulge a little bit. Then I added a little “owie” sign rather universally understood in certain styles of comics and animation, and made that sign flicker by just leaving alternating empty frames.

©2012 About.com. All rights reserved.

A part of The New York Times Company.