Designing the structure of a Flash game – AS3 version – Part 5
Time to publish part 5 of the game.
I included some visual elements such as the score you are making at every click and most of all I included MochiAds in just one line of code thanks to the version control feature.
The only line I added in the main class to include MochiAds preloader, version control and encryption was:
var _mochiads_game_id:String = "6401e2f6926a721a";
Ad of course I downloaded the latest API, copying the mochi folder in the same path as the main class.
Here it is:
Download the source code with all used libraries.
During next steps, we’ll see how to complete the game and add other APIs
They can be easily customized to meet the unique requirements of your project.















(4 votes, average: 4.50 out of 5)









This post has 5 comments
FreelanceFlashGames
Good job. This tutorial is coming along nicely. It was interesting to see it go from the early design stages and progress to the point where it is now a true game. Keep up the good writing.
RedRail
Well, what’s the point of this post? Getting impressions?
Nathan
ummmmm….. did you read the others RedRail?
BayuBayu
It covers all components for creating a simple flash game. So It can be a good template.
FrozenHaddock
We forum users hope you’ve not abandoned us Emanuele :)