Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

How to make a sniper shooting game in Adobe Flash CS4 (Part 1/2 - Level design, Script + Sound FX)

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
40,317
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, 3 dislikes

Link to this comment:

Share to:

Top Comments

  • I'm running into a slight problem with mine, After the introduction scene, the crosshairs align themselves with my mouse's position, and then stops. it only follows for the first frame, and then the targeting reticule just stays there....

    This is my first flash project....

  • @XDestroyer0001 - second line will give error.... No Semicolon(;) .....

see all

All Comments (169)

Sign In or Sign Up now to post a comment!
  • Could you maybe put the scripts in the description so I could copy and paste them instead? I seem to keep having troubles with them.

  • How to select INNER in CIRCLE

  • can you tell me the actions, i think i write spaces where i dont have to, just reply me with the exact actions plx :)

  • thanks i just made myself a really sexy sniper game.

  • @cykrns

    maybe you have 2 or more key-frames, and there on 2nd frame you don't have crosshair code?

  • Thanks alot! Totally geting an ''A'' in this class :)

  • how did you get in the movie clip

  • Mine wont lemme test it

  • I have one problem. When I shoot, there's no noise.

  • thanks!

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