This was a small presentation and code written for the second IGDA meet happening here in Bangalore on March 5th 2010. The idea was to give an introduction to Flixel and how a small platformer with the bare minimum of features can be created fast and easy.
Slide Notes: https://dl.dropbox.com/u/1526334/making_games_with_flixel_notes.pdf
Code: https://github.com/yadurajiv/revenge [updated to 2.55 community version]
More information: http://chronosign.com/projects/making-games-with-flixel [DOWN]
This was a small presentation and code written for the second IGDA meet happening here in Bangalore on March 5th 2010. The idea was to give an introduction to Flixel and how a small platformer with the bare minimum of features can be created fast and easy. Hello, I'm Yadu Rajiv and I've been working as a designer and developer for the past 6 years and I've always wanted to make games since I was 13. I left my safe job back in Delhi about 6 months ago and moved to Bangalore with only one thing in mind, which was to make games; so far things are going good.
Flixel is an Actionscript library that provides you with classes that will let you easily make 2D games. It leans a lot towards the 8-bit era of video games, but you can pretty much make anything you want ^_^
What do you need to get started? You would need Flixel – flixel.org The Flex SDK 4 or 3 – opensource.adobe.com An IDE like FlashDevelop – flashdevelop.org http://blogs.warwick.ac.uk/ahazelden/entry/as3_flash_dev/ For more information on how to setup and create swf's using only free tools, try the above link.
To get up and running with Flixel, you would need to know what the core classes are and how they generally work. To start of, you have the FlxGame class, which you will extend and will be the start of your Game. FlxGame does a lot of initialization and nothing more, once that is done, i will load whichever game state that you point to. FlxGame also initializes two helper classes you will be using through out; FlxG - connects to your game and its data and FlxU - a utility class. Think of a state as a single screen of the game, like the main menu or a level in the game. Each state holds its own objects(read player, enemies, pickups, backgrounds, tiles, enemies, on screen hud elements...etc). You can switch back and forth between these states using the FlxG helper class.
Once we explored the code, step by step we will have an opening screen like this.
Once we explored the code, step by step we will have a game level like this.
Once we explored the code, step by step we will have a game end screen like this.
The presentation is licensed under a Creative Commons Attribution-ShareAlike 2.5 India License. The code is under a zlib/libpng License and the content is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.5 India License Find everything here, http://chronosign.com/projects/making-games-with-flixel
If you have no questions, then that about does it.