How To: Create a game character that moves using Flash CS4

Create a game character that moves using Flash CS4

So you want to make your own video game using Flash CS4 and Actionscript 3. We applaud your chutzpah. This video will walk you through what should probably be your first steps: importing a sprite character, making them move around in response to keyboard inputs, and making them animate depending on how they are moving. Once you have this established, you can move on to creating enemies to fight, environments to wander, and all the other elements that make a good game.

Download free sprites for your game here.

Download the AS3 file used in the video here.

Just updated your iPhone? You'll find new emoji, enhanced security, podcast transcripts, Apple Cash virtual numbers, and other useful features. There are even new additions hidden within Safari. Find out what's new and changed on your iPhone with the iOS 17.4 update.

3 Comments

I have an error which says, "Access of undefined property Key." on line 9 where I have it telling to go right. What do I do? The code is EXACTLY the same as yours

Ok, here's another quick question. What do you do if the walking animation is more than 1 frame?

I have just done this and have it working. But I have the same question, my animation has more then two frames, please can you help?

Share Your Thoughts

  • Hot
  • Latest