FlxAsteroids. With source code!

Insider 22 Sep , 2011 1

It’s an Asteroids spinoff made in ActionScript3 using the Flixel framework and the FlashDevelop IDE. Coming to think of, it’s the first time I use any of those 🙂 Done in 2 days as a take-home assignment during an interview with PlayFish Ltd.

In short, Flixel is cool for quick prototyping, ActionScript sucks (:p), FlashDevelop is very good and useful. While you may expect a step-by-step Flixel tutorial, I don’t have the time to write it.  Even if the coding style is a bit all over the place, I bet you are a smart developer, so you should figure it out. Or simply ask below 😉

Grab the sources from SourceForge. The sources are released under ZLib License, in short, do whatever you feel like with them. 10 years after edit: the updated souce code is on GitHub, under MIT license.

Some of the graphics were done by me (asteroid, bullets, the teleport fx and the explosion fx), so use them freely.  The rest are from all over, I can’t remember the exact authors, most likely they are from Pixel Joint.  Use with care and respect toward their work (that is, replace them with yours).

Sounds were made using the excellent sfxr.

Visit the project page at SourceForge or the project page on GitHub.

And play the game. Just below. Three ships to choose from, each with different powers, use arrow keys to move, Z to fire, X to fire the power (when it’s loaded). Backspace to quit from game to select screen.

Written by
Stefan Dicu
Owner of Piron Games and game developer.
COMMENTS #1
  • FlashMush

    Really like this game!

    Reply

LEAVE A REPLY

Your email address will not be published.