2d platformer

A Beginner’s Guide to 2D Games in Flixel (ver 2.55)

Hello, there.

Recently, as requested by a few students and alums of the NYU Game Center, I created a sample project based off of a 2D platformer I made so that other students could work and learn from it. Beyond just creating and distributing the code, I wanted to make a brief Beginner’s Guide for anyone looking to start making games – specifically, 2D games using Flixel. This requires almost no programming knowledge really, rather just an interest to open up some code and poke around in it.

What is Flixel, you ask? Well the Flixel site answers it like this:

“Flixel is an open source game-making library that is completely free for personal or commercial use. Written entirely in Actionscript 3, and designed to be used with free development tools, Flixel is easy to learn, extend and customize.”

Basically, it’s a library of classes you include in your ActionScript3 project to make a lot of things easier for you. To get started, try to follow this guide to get setup with FlashDevelop or FlashBuilder (hint: you can get a free license of FlashBuilder from Adobe if you’re a student). Once installed, try to follow parts of this Hello, World guide here. However, with that one, about halfway down a ton of the images are currently missing due to some problems with FlashGameDojo. Continue reading