Designing the structure of a Flash game – AS3 version – Part 2
I added some new features to Designing the structure of a Flash game – AS3 version game template and wanted to share the result with you.
Now the diagram is a little more complex, and it still lacks of some important features such as savegames and high scores.
Let’s look at the new diagram (if you want a fancy diagram like the one on this post, made in a couple of minutes without installing any software, visit Gliffy):

Now the player can select levels. The script does not check for already completed levels and there isn’t any “congratulations” screen if you complete the game.
Both features will be added later.
Also, there is some room for optimization, and I will try to optimize the template as much as I can because it’s going to be my template for all future AS3 games.
Here it is:
I am not posting the source code this time because files become to be quite a lot, and all work with the same concepts as seen on Designing the structure of a Flash game – AS3 version.
But you can obviously download the source code and feel free to complete it.
They can be easily customized to meet the unique requirements of your project.
9 Responses to “Designing the structure of a Flash game – AS3 version – Part 2”
Leave a Reply
Trackbacks
-
Designing the structure of a Flash game - AS3 version - Part 3 : Emanuele Feronato on
January 16th, 2009 12:31 pm
[...] game structure is getting more and more complete… now, according to the comments to Designing the structure of a Flash game – AS3 version – Part 2, you are able to return to main menu from level selection screen, level passed screen, and level [...]
Posts
- Rick Triqui: my first PlayCrafter game
- Prototype of a Flash game like Meeblings
- Games for the game developers!
- The art of debugging
- How to embed a text file in Flash
- Create a Flash game in minutes with PlayCrafter
- Upgrade your Flash CS4 to 10.0.2
- Play Mazeroll, my latest Box2D game
- Triqui MochiAds Arcade plugin for WordPress Released!!
- The MochiAds funnel
- Flash game creation tutorial - part 1
- Create a Lightbox effect only with CSS - no javascript needed
- Flash game creation tutorial - part 2
- Make a Flash game like Flash Element Tower Defense - Part 2
- Flash game creation tutorial - part 3
- Create a flash draw game like Line Rider or others - part 1
- Create a Flash Racing Game Tutorial
- Make a Flash game like Flash Element Tower Defense - Part 1
- Create a flash artillery game - step 1
- Create a flash draw game like Line Rider or others - part 5
- Flash game creation tutorial – part 5.2




(4.9 out of 5) - Flash game creation tutorial – part 3




(4.86 out of 5) - Creation of a platform game with Flash – step 2




(4.84 out of 5) - Create a survival horror game in Flash tutorial – part 1




(4.82 out of 5) - Create a flash artillery game – step 1




(4.82 out of 5) - Create a Flash Racing Game Tutorial




(4.8 out of 5) - Create a flash artillery game – step 2




(4.75 out of 5) - New tile based platform engine – part 6 – ladders




(4.74 out of 5) - Flash game creation tutorial – part 2




(4.73 out of 5) - The experiment – one year later




(4.7 out of 5)
(3 votes, average: 3.67 out of 5)

In my opinion, you should be able to get back to the main menu once you leave it to play.
I think the level select screen should have a “Back to menu” button
Yeah, it definitely should :) but I think he will be adding this at some point :D
you guys gotta check this out.. contets of doign the best SWF with only 25 lines of code :D http://www.25lines.com/?page_id=139
You should upload that sample as a game on Kongregate and Newgrounds. It might be not so much now but after implementing a couple of archievements you might get a few additional hits. ;-)
Well, you can see from the diagram how often one visits the level select screen, as compared to the splash screen or even the game itself, though its now taking into account the time spent on each screen, the level select screen is the best place for ads because you visit it so often.
srry, now is not
Thanks for the plug and use of Gliffy. Glad it was a quick study and provided good examples for your readers! debik at gliffy dot com
Xodus has a point, the most viewed screen in this example would be the Win/Lose Screen.
@Snurre, cool, but irrelevant. This might be better posted in the forums.