How to make a sniper shooting game in Adobe Flash CS4 (Part 2/2 - Enemies)

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
16,499
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Apr 8, 2010

This easy to follow, HD tutorial, will show you step-by-step how to make a Sniper-Scope shooting game with Flash CS4.

** Download the flash file I created in this video! **
http://www.mediafire.com/?kmz4mmvzmlg


---- Frequent Problems / FAQ ----

1. The script doesn't work, I get error messages talking about 'missing information'.

You're using Actionscript 3.0. The scripts in this tutorial use the syntax of Actionscript 2.0. Head into File, Publish settings, and under the 'Flash' tab, change the 'Script' drop down to 'Actionsript 2.0'.

2. When I click on my button and open the Actions panel it says 'Actions cannot be applied'.

Either: Make sure you converted your object into a button symbol (hit F8), OR, change your Actionscript to AS2. (Refer to question 1.)

3. My frames are disappearing, or the movie is flickering.

Be sure to have applied the stop(); script for each frame.

4. The scope won't follow my mouse.

Make sure your scope has been given an instance name in the properties menu. In this case it is 'scope' (Without the ' ' ). Also double check you correctly copied the script at 5:37.

5. The scope drags from the corner, not the centre.

When converting the scope into a MovieClip, in the box that opens up, set the Registration (the little diagram with 9 white squares) to the centre, by cliking the middle square. If you forget to do this and have already converted the movieclip (like myself in the video), follow what I'm doing at 2:36. (Double click the MC to edit it, use the Align menu (Ctrl+K) to align the scope in the centre of the stage. Make sure the little 'cross' lines up with the middle of the scope's crosshair.)

6. How do I unhide the mouse?

Use mouse.Show(); on the frame you wish to show the cursor at.

---------------------------------------------

Video made with:

- Adobe Flash CS4
- Techsmith Camtasia Studio 6.0

If you'd like to see more Flash tutorials, please subscribe to my channel!

Peace.

---------------------------------------------

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (smittyguitarplyr)

  • man ur tutorial was the best ive ever seen, u were clear with ur steps and what to do mine came out perfect thanks to u :)

  • @MrLMFAOXD - Thanks a lot!

see all

All Comments (110)

Sign In or Sign Up now to post a comment!
  • so does this media fire game have a virus in it? has anyone downloaded it?

  • thanks amazing... how do you make a winning scene that you go to once you killed them all...

  • 51likes 1 dislike (dislike from jealous ass hole)

  • thanx~

  • your tuts are awesome but please make a side scroller shooter tutorial

  • hey dude, i did everything u said but my enemy is in front of the sniper screen plz help!!!!

  • It´s not working, ive followed everything you did, but when i shoot my stickman, nothing happend :(

  • Epic guides :) ty for them. but i have one question. how could i make my scope kick up after you shoot? like i want it to pick up a little bit then go back down as if the gun was actually kicking if you know what i mean. Thx :)

  • You must do the tutorial video for the following explanation. 1) Double click on the movie clip called person_mc 2) Highlight all frames except first one 3) Right click on the frames and press remove frames 4) On the first frame, click on person_button 5) Press F9 6) Erase the code in there. 7) Type: on (press) { person_button._visible = false; } 8) The guy will be no more visible. However, he still will be "there".
  • I need some help. I've also made a shooter but when they get shot I want them to disappear. I'm sure I need to make a button with a code that says on release disappear but obviously thats not it. Do you know the code I need?

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more