Flixel is a programming library that you can use within action script 3. it helps you create games for any device that can run flash code. these games can be packaged within adobe air and used on devices that support air such as android and ios.
if i have enough time i will be experimenting and creating a prototype game using Flixel and open source code that has been shared on the flixel forums and sites like gethub.
starting with a simple hello world tutorial i shall progress from there...
using the an online tutorial i have managed to create a simple and rubbish mobile aplication that does nothing but show a splash screen and then a hello world screen after that.
next i will shall look into coding for touch events within action script 3 and attempt something interactive...
to the right is an interactive version of what i have created so far using the tutorial. since starting i have managed to create a new tilemap (wich is what the textures for the tiles are called) and imported them into the file and replaced the previous map. next up will be to make a sprite map for the player character into something that might look a little bit like me.
this is what you can create using a tutorial to make a simple platformer using the flixel framework. its very basic with no music or sound effects. pictured above is how it comes i shall try to customize it by possibly making my own sprites to use as the main player (the red box) and create a narrative using cut scenes. click above to view the tutorial.
These are the tile sets i created , the top one is the player animations (idle, walking 1, walking 2, jump) using the built in animation class within flixel you can easily create animated sprites.
addAnimation("idle", , 0, false);
addAnimation("walk", [0, 1, 0, 2], 10, true);
addAnimation("jump", , 0, false);
addAnimation("hurt", , 0, false);
and the lower half is whats used for the map textures, i created the map using a tool built by one of the members of the flixel community. its called Dam and lets you paint down tiles from your tile map just like any graphic program like photoshop for example. i found it really simple to use and shall build on this. next thing i need to do is extend the level and give the level a goal and remove the remaining coins... (again you can play by clicking on the flash and using the arrow keys and space.)
Sfxr is a free tool i used to create retro like sound effects for this game, it allows you to change alot of settings in the instruments it provides. and also a preset randomizer on the left.
this came in very handy.
Attempting to make a virtual on screen controller for this platform project has taken longer than i thought.
finding a source code on gethub.com for virtual controlls i have managed to run it on my android device, i have run into the problem of trying to get it to work with my project thats built in flash builder 4.5 from flash professional...
After looking into interactivity in digital gaming for my essay in this module i reallly wanted to produce an interactive game for a mobile device. after looking into Flash and Air which can both be run on android and ios devices i came across a programming library called flixel wich allows you to produce games if you have basic coding knowledge.
I want to create a basic game where you collect certain objects and once they are collected a new path is unlocked. just a simple platformer to explore different narrative structures...
this became a massive problem and i pretty much wasted a whole day trying to get this to work. i posted on the flixel forums for help but have no reply as of yet. im sure in the future when i have more time i can work this out. its probably just a simple bit of code im missing that needs to be added on top of my existing code...
final source files before compressing into a .swf
Here is my final prototype of my platformer game. if i were to build on this i would include more levels and possibly scroll the level to make it bigger. include cut scenes and more sound effects and background music. but as a demonstration i think it serves its purpose. you can jump with space and move left and right with the arrow keys collect all the coins to reveal the exit. i wish i had more time and skill to complete this fully and would have overcome the problems with getting it to run on android. (it runs but cant be controlled) simple stuff.