Internet Commerce

Partners & Affiliates














Developer Channel

internet.com


Tutorials Home What's New Top Rated Submit myTutes Random!

Search Tutorials


Tutorials Tutorials » Games

Categories How To Make Shootout Games
Author: Dark_Stone | Website: http://www.freewebs.com/black_flash |

 
Page 2
«prev 1 2 3 4 5 6 7 8 next»

2. Making the enemies:
Make a movie-clip. Inside the movie clip, andimate your enemy shooting you, or stabbing you, or whatever. on the first frame, call it "start1". on the last frame put these actions in:

   gotoAndPlay("start1");

This is so it would loop the killing. The frame after he shoots, animate him dying. on the first frame of him dying, name the frame "dead". On the last frame, put this action in:

   stop();

This is so it wont loop. Also if you want him to come stabbing you again, dont put that action in. Ok, now make a new layer. make this the top layer. copy & paste the "thing you shoot" onto the top layer. do not delete the "thing you shoot" at all. on the top layer, convert the other "thing you shoot" to a button. in the button, dont have anything in the "up" frame, "over" frame, or the "down" frame. Just have the body in the "hit" frame. get out of the buttons properties, and give the button this action:

   on (press) {
   gotoAndPlay("dead");
   }

NOTE: dont have this button on the frame when he dies.

«prev 1 2 3 4 5 6 7 8 next»

» Level Intermediate

Added: : 2004-03-08
Rating: 5.38 Votes: 49
Hits: 1811
» 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.
10 9 8 7 6 5 4 3 2 1
Read or Post Comments
 
   
 


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers