Develop Flash games with Flixel

Posted by Rolpege

All readers, I suppose, know what is Flash. Is what lets us to watch YouTube videos, play some Kongregate, ArmorGames or Minijuegos and it is too what is behind that annoying epileptyc ads full of animations in wich you have to finish beer before Santa does. Yes, we have all hated them =D

What we’re gonna to play with Flash Player is a “swf” (pronunced swif) file, that it’s no more than a Flash file compilated. This files, can be created with “Adobe Flash”, “Flash Develop” or “Flex” (flex contains both “Flex Builder” and “mxmlc”).

Pues bien. Lo que reproducimos con el Flash Player es un archivo “swf”, que no es nada más que un archivo compilado Flash. Estos archivos, pueden ser creados con el programa “Adobe Flash”, mediante “Flash Develop” o mediante “Flex” (tanto como si se trata de “Flex Builder” como el “mxmlc”).

Flash, lets us to create both animations and vectorial graphics and programmation. And the language used in both Flash, Flash Develop and Flex is Actionscript such recent version (and better) is Actionscript 3.

With Actionscript 3, anyone that knows how to control it, can program a videogame to upload it into flash games portals.

Althought with Actionscript 3 you can create a videogame, in same way that you can do it with Python, there are libraries that makes the creation of it easy, in same way that exitsts PyGame for Python.

And one of the bests libraries we have for Actionscript 3 is Flixel. Flixel can be used for both Flash, Flash Develop and Flex, although is best used in the last two ones, and is one of the best libraries that exists for the language (although it doesn’t have too much competitors).

One of good things that Flixel has, is that it don’t remove AS3 funcionallity, like some libraries do in some programmation languages, but it only adds a few extra classes that can be used for the creation of the flash game.

One of the features I like most of Flixel is that it can renderize a lot of sprites, although they’re not vectorial: more than 5000 in a frame (at 30 frames per second more or less) in modern PC.

Here I give you a list of other characteristics offered too by the library:

  • Tilemaps
  • Particle systems
  • Global sound system with volume hotkeys, looping, panning, etc
  • Parallax scrolling (free/multi-directional)
  • Built-in 2D box-based game physics (not Box2D…yet, anyways)
  • Fast text rendering
  • Retro style zoomed rendering options (2x pixels, 3x pixels, etc)
  • Works great with non-pixel art too, with support for rotation, scaling
  • Composite multiple sprites using blending modes to create sweet lighting effects
  • 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
  • Save game data between sessions using a local shared object

This are a few features offered by the very powerful library.

Flixel is open-source and totally free

What are you waiting to test it? http://flixel.org

1 Comment to “Develop Flash games with Flixel”

  1. [...] The other day I talked about a Actionscript 3 library used to create flash games, Flixel (http://www.barail.es/videojuegos/flash-games-flixel) [...]

Leave a Reply

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">