http://flixel.org/What is flixel?flixel is a free Actionscript (Flash) library that I distilled from a variety of Flash games that I've worked on over the last couple years, including
Gravity Hook and
Fathom.
It's primary function is to provide some useful base classes that you can extend to make your own game objects.For example, FlxGame.as provides a basic game object that includes global volume control and a way to manage gameplay states. FlxSprite.as provides a bunch of collision code, velocity and acceleration options, and an optimized render path (approx. 10x faster than the normal Flash vector renderer). FlxEmitter.as provides a class for quickly and easily creating cool particle effects.
flixel comes with full documentation for the API and a sparsely commented example game,
free for partial, full, personal and commercial use.Some of flixel's native features include:• Really fast renderer (5000+ sprites on modern PCs)
• Tilemaps
• Particle systems
• Global volume control with hotkeys
• Parallax scrolling
• Fullscreen mode (BETA)
• Collide sprites against almost anything (even textboxes)
• Text rendering
• Retro style zoomed rendering options (2x pixels, 3x pixels, etc)
• Does not require the Flash IDE, works best with free tools like FlashDevelop
• Organizational classes like game states
• Simple buttons
• Utilities for looping music and playing sound FX
• Simple special effects like screen flashes and fades
Who can use flixel?Anybody!
flixel is released with
the MIT License, which as far as I understand it means you can use any of these files for anything you want, commercial or not. You only need to redistribute the license if you are redistributing source code that includes any of my work, because the license has that clause for like "if this messes up your computer then you can't blame me" or whatever.
Can I use X, Y or Z flash modules/plugins/classes/extensions with flixel?As far as I know, yes. As long as they are Actionscript 3 compatible, they should work fine. If they are based on Movieclips instead of Sprites, you may have to do some fiddling, but
flixel is just a framework that sits on top of flash.display.sprite, so you can do pretty much whatever you want (including using normal Flash widgets like text inputs, etc).
Special Thanks to...Ivan Safrin created nanodoc, tested flixel, and a couple years ago taught me Actionscript.
Danny B created all the music for Gravity Hook, Fathom, and Mode, and he also created the signature flixel logo riff. One of the few humans I can stand to collaborate with!
Bekah is my oh-so-hot wife, who for some reason tolerates the insane amount of free time that I spend making games, and was especially cool about The Flixel Weekend, where I built all of v1.0
and mode in about 2 days.
Farbs explained how to get rid of some really nasty hacks in the flixel code.
Obviously big thanks to the flixel community for all the feedback, bug checks, suggestions, tutorials, and good vibes.