Tutorials Home
What's New
Top Rated
Submit
myTutes
Random!
How To Make Shootout Games
Author: Dark_Stone
| Website: http://www.freewebs.com/black_flash |
4. Making the health bar:
Make a movie clip. name the instance "Health". inside that movie clip, make a bar. put the fill-in on another layer. make lots of keyframes, and on each keyframe, make the heald go down a bit. Its easier if you use motion tween. on the first frame, put these actions in:
stop();
and on the last frame, put these actions in:
tellTarget ("_parent.") {gotoAndStop("loose");}
Go into the enemies properties, and put these actions in right when the weapon or something hits you:
tellTarget ("_parent.Health") { nextFrame (); }
| » Level Intermediate |
|
|
Added: : 2004-03-08
Rating: 5.38 Votes: 49
Hits: 1815
|
| » Author |
|
A guy who likes to make games in flash.
|
| » Download |
|
Download the files used in this tutorial.
|
|
Download (2330 kb)
|
|
Get conversion and unzipping tools
for PC and Mac here!
|
| » Forums |
|
More help? Search our boards for quick answers!
|
|
Please rate this tutorial, 10 is the top rating, you can also click the
comments link to read/write a review.
|
|
|