Designing the structure of a Flash game – AS3 version – Part 4
Here I am with some new features added to the game.
I had to make some gameplay because I am going to show you how to add portals API, and in order to get my game approved there must be something playable.
So I decided to make an easy “click the shape” game, and I will show you how to add a lot of features to a normally flat and boring game.
At the moment you just win a level (any level) if you click more than 100 times in the moving circle before it moves 50 times. You get one point for every click inside the circle, and you lose one point if you click outside it.
And now a couple of things about the graphics.
First, I used a stripe pattern designed with Stripe Generator. It’s an interesting free online tool to generate stripes on the fly.
Then, I am going to make a Valentine theme, but I won’t use the “Valentine” word in the name, because I don’t want to give the game an old feel when Valentine is over.
Download the source code, meanwhile I submitted the game to MochiAds, so next time I will be able to show you the complete splash page and comment it line by line.
They can be easily customized to meet the unique requirements of your project.

























This post has 6 comments
Peter
What about challenging your ActionScript skills and try to make a game with Artificial Intelligence. Enemies that follows the player, attacks the player, enemies that jump over high objects, etc :)
That was just a idéa.
Great blog, thanks!!!!!!!
-Peter from Sweden
Shival
Still, anatomically good.
But will your template work on all types of games?
Meaning what about if u want to add a animated tutorial for the game instead of how to play text? And if I want that at the preloader can I still sustain my ads?
Gawd
Damn, the stripe site is slow! =(
Gawd
It doesn’t work, even. It just continues loading but nothing happens.
Saulo Souza
This is easy to developer, but is creative
Criando a estrutura de um jogo em flash – 4ª parte « Tentativa de Programação
[...] site do Feronato não tá mais explicado o código, simplesmente tem o resultado e o código fonte pra baixar. Uma [...]