INTRO
This is the first post of the 2011, so I decided to go with something interesting and useful: a complete guide about how to make a simple game with Actionscript 3/Flashdevelop and about how to improve and monetize it thanks the services offered by Mochimedia.
Even if I tried to keep everything as much simple as possible, making a game is not like making a “hello world” program, so I had to divide this guide into 3 parts.
The first part describes the project and introduces the base classes making the game, the second part is about the main code and the third part is about the integration with the Mochimedia API.
I’m also going to release the source code with the last post, so keep reading every week and further!
The game we’re gong to make is called Swifty Chips (thanks to Afrix for the suggestion):
As you may notice, the game is pretty simple. There’s no main menu, no levels selection and you can only play with the mouse, nevertheless the immediate gameplay and the 8 different leaderboards (one for each level) should give enough challenge for a quick play.
One last note: this tutorial is intended for people who already have a basic knowledge about programming and Actionscript 3.
If you have no idea about basic concepts like: class, attribute, cycle, branch, inheritance, etc… I’d strongly suggest you to learn the fundamentals before to read this tutorial.
Continue reading →