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

Rate this post: 1 Star2 Stars3 Stars4 Stars5 Stars (4 votes, average: 4.50 out of 5)
Loading ... Loading ...
Flash Templates provided by Template Monster are pre-made web design products developed using Flash technology.
They can be easily customized to meet the unique requirements of your project.
Be my fan on Facebook and follow me on Twitter! Exclusive content for my Facebook fans and Twitter followers

This post has 5 comments

  1. FreelanceFlashGames

    on March 1, 2009 at 5:07 pm

    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.

  2. RedRail

    on March 1, 2009 at 5:37 pm

    Well, what’s the point of this post? Getting impressions?

  3. Nathan

    on March 3, 2009 at 2:43 am

    ummmmm….. did you read the others RedRail?

  4. BayuBayu

    on March 3, 2009 at 9:42 am

    It covers all components for creating a simple flash game. So It can be a good template.

  5. FrozenHaddock

    on March 3, 2009 at 6:11 pm

    We forum users hope you’ve not abandoned us Emanuele :)