AS3 Avoider Game Tutorial
I’ve written a tutorial that will take you from being a complete beginner at Flash (as in, you just downloaded the trial version ten minutes ago) to learning how to use it to create your first game.
Note that I said learn. This isn’t about taking a finished game and poking at it so that you can pretend you made it yourself. This is about getting to grips with ActionScript 3, the programming language that powers pretty much every Flash game made today.
By the end of this twelve-part tutorial, you’ll understand how to:
- control as many enemies as you like on-screen at once
- save and load data, like high scores
- generate new levels to keep the player’s interest
OK, the game you’ll end up with won’t be gracing the front page of Kongregate any time soon. But the concepts you’ll learn will give you a solid foundation. They’ll be your first step towards creating a truly great game.
Click here to start the tutorial, or use the table of contents to skip to a specific part:
- The Basics
- Multiple Enemies
- Game Over
- Menus and Buttons
- A Score and a Clock
- Several Small Improvements
- Keyboard Control
- Adding a Preloader
- Music and Sound Effects
- Multiple Levels
- Saving and Loading
- Garbage Collection
Once you’ve finished all twelve parts of the tutorial, check out AvoiderGame.com. It’s a joint project between Frozen Haddock and myself that anyone can contribute to, with tutorials that build on these basics.