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

How to make a walking / jumping game with Flash CS4 (Part 3/3 - Scrolling Virtual Camera)

Loading...

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

Uploaded by on Feb 6, 2010

This three part series will explain how you can create your own Flash Game with CS4, where in which a character will be controlled by the arrow keys, and jump with the space key. It will give you an insight into the basics of a more complicated game (Such as a platformer).

The first part deals with the character design + animation, and background design. The second will include all the script. The third will show you how to make a Virtual Camera to follow / scroll with the player as he walks.

This will work with CS5, CS4, CS3, Flash 8, MX 2004. Note that you need to use ActionScript 2.0.

-----------------------------------
Programs:
- Adobe Flash CS4
- Camtasia Studio Pro 6.0
-----------------------------------

Visit my channel for more beginner to intermediate flash tutorials, and subscribe to show your support if you enjoy them. Cheers.

** Script downloads:
Virtual Camera Script:
http://www.mediafire.com/?fyu3zzj3yym


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

  • likes, 3 dislikes

Link to this comment:

Share to:

Uploader Comments (smittyguitarplyr)

  • hey guys, i figured it out. its not following your guy because the script is mistyped, onClipEvent (enterframe) ( _y += (_root.Char._y-_y); _x += (_root.Char._x-_x); ) replace the starting and ending ( ) with { } and it should fix the problem. it did for me onClipEvent (enterframe) { _y += (_root.Char._y-_y); _x += (_root.Char._x-_x); } like this ^^^
  • @FireFriends2011 - It isn't actually mistyped, the brackets both in the video and in the annotation are '}' ones, not ')' ones. Watching in higher quality makes this easier to see. But you're correct in that regular ')' brackets won't work.

Top Comments

  • Easily the best tutorial I've watched on youtube! Great quality and everything was easy to follow. Amazing Job!

  • I wish you did this for AS3 too.

see all

All Comments (201)

Sign In or Sign Up now to post a comment!
  • where did you get ur music from

    please

  • @smittyguitarplyr when i move left and right the camera goes up and down!? PLZ HELP!!

  • Hey!

    Can you please email me Virtual Camera Script at sonkar25@gmail.com, i can not access that site in my college. Thanks

  • Boys,Boys,Boys Hahahahaha AHeheheh

  • can tell me how do you make him walk and fall if he is walking out of the building or somting like that?

    my email orenqz@gmail.com

    Thankes

  • thank you so much..it helped alot

  • THANK YOU VERY MUCH!!!!!!!!!!!!!!

  • Sounds name?

  • I want this code for AS3 :'(

  • Awesome ...... Turtle.

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