Resources: Beginner Tutorials

If you’re looking for some great beginner tutorials besides AS3GameTuts’s Getting Started with AS3, or Pong, here is a list of some of my favorites:

Highly Recommended:

The Avoider Game Tutorial – Michael James Williams

This is basically the pinnacle of the flash gaming tutorials for beginners. Michael J Williams takes you through 12 easy-to-follow steps to make an Avoider game complete with many features. After you complete this you will feel very confident with the basics of AS3.

Other Great Tutorials:

How to Create a Brick Breaker Game in AS3 – Flash Game Tuts

This tutorial is from the website that gave me the inspiration for AS3 Game Tuts.  It is a very thorough tutorial on creating a Breakout style game in AS3. This site has many other helpful tutorials for all sorts of game styles.

AS3 101 – ActiveTuts+

So you want to figure out actionscript 3? This is the place to do it. It doesn’t teach you to make any specific games, but if you start from the beginning and read all the way to the end, you will be an actionscript pro.

Flash ball game creation tutorial – Emanuele Feronato

This is a quick tutorial that shows how to move a ball around using the arrow keys. Useful.

Number guessing game in AS3 – iLike2Flash

Create a simple higher-or-lower guessing game in Flash AS3

Kongregate AS3 Shootorials:

This 8 part tutorial series from the Kongregate will teach you to create a horizontal space shooter flash game in AS3. You can see what the result looks like by clicking here.

The AS3 tutorials don’t link to one-another, so bookmark this page if you need to and use this list of links to find each section.

Kongregate AS3 Shootorials – Part 1

Kongregate AS3 Shootorials – Part 2

Kongregate AS3 Shootorials – Part 3

Kongregate AS3 Shootorials – Part 4

Kongregate AS3 Shootorials – Part 5

Kongregate AS3 Shootorials – Part 6

Kongregate AS3 Shootorials – Part 7

Kongregate AS3 Shootorials – Part 8

If you know of any great beginner tutorials that I left out, please let me know in the comments so I can update the list.

And if you think you’re beyond the very basics, you might want to give my Platformer tutorials a try.

Thanks!

Pong ~Part 4~ The CPU’s Paddle

Welcome to part 4 of the Pong tutorial series. Please make sure you have read Part 1Part 2, and Part 3.

Step Four: Program the Computer-controlled Paddle

OK, so the last tutorial was pretty short and sweet. So lets waste no time getting into the next step. This step is pretty important because we begin to look at a very important step in game programming: AI (which stands for Artificial Intelligence).

Artificial Intelligence

Any time when the computer itself needs to control something (like an enemy in a game) and perform certain actions depending on certain conditions, we call this AI. Now, our AI is fairly basic. We need the computer’s paddle to move up and down to try to block the ball from getting past. It would be easy to make the cpuPaddle ALWAYS block the ball — all we would do is constantly set the cpuPaddle.y to the ball.y position. But how do we give the computer the intelligence to act like a normal player, sometimes succeeding and other times failing?

Continue reading

Pong ~Part 3~ The Player’s Paddle

(This is part 3 of the Pong tutorial series. Please read Part 1 and Part 2 if you haven’t done so already.)

Step Three: Program the Player-controlled Paddle

We got the ball to move and bounce off of the walls in our last tutorial. Now it’s time to program the player-controlled paddle. What does the playerPaddle need to do?

  • Set it’s y-position to the y-position of the mouse
  • Stay within the boundaries of the screen
  • Block the ball from passing through it

This will be a pretty simple tutorial section.

Continue reading

Pong ~Part 2~ Programming the Ball

Welcome to Part 2 of the Actionscript 3 Flash game tutorial series for Pong!

Make sure you check out Part 1 if you haven’t done that already. And if you are completely new to programming, my Getting Started tutorials are the place for you.

Enough talk, let’s code.

Step Two: Program the basic game loop and the ball

First things first, we need to name each instance of our game pieces — this is what we’ll use to refer to each object in the code. Name the paddle on the left “playerPaddle” (no quotes), the paddle on the right “cpuPaddle”, and the ball can just be named “ball”.

Continue reading

Pong ~Part 1~ Setting up the Project

In 1972 Atari pioneered the video game industry with the release of Pong. If you think of classic games, Pong is almost always near the top of the list. So it is fitting that Pong should be at least one of your first flash games you make. In this tutorial, we are going to create a complete Pong game from start to finish.

This is intended for beginners, but if you have never programmed at all before you should check out my Getting Started tutorial first.

This is what we are going to create over the next 6 tutorials:

Continue reading

Getting Started with AS3: The Absolute Beginner ~Part 2~

This is part 2 of 2 of the Getting Started with AS3 series. Click here to view part 1.

OK, so we’ve covered variables, event listeners, and functions. Now let’s check out the code that actually does stuff.

“Action” Code

The final part of code we are going to look at right now is what I call the “action” code — the code that actually does things. Now, in a game, what we could do with action code includes basically anything you can think of: you can move and animate objects, perform calculations, manipulate variables, call functions, and “trace” out data to your output window, just to name a few.

Continue reading

Getting Started with AS3: The Absolute Beginner ~Part 1~

So you want to make flash games, but you’ve never written a line of code before?

Don’t worry, this is just the place to learn how. Instead of getting caught up with complicated terms, and code that doesn’t do anything cool, we’ll jump right into the basics and then get started with some real, working game examples. Other websites might go into more depth on fancy code, but the point of this site is games. And the best way to learn games is to learn from experience. Continue reading