So you just finished your first flash game, it’s excellent, at least you think so. I mean you put hours on top of hours into it. Your eyes have been bloodshot and you’ve pulled your hair out more than once. Needless to say, you’ve worked hard and you are incredibly proud of it (But your ego is in check, you’re not arrogant or anything ). So you send your game off to be spread virally around the internet and it’s doing amazing!!! You’re making all kinds of money on your advertising, then a week later some guy comes out with your game and new graphics… better graphics. But it’s the same game, seriously to the last detail it works almost the exact same way. You’re the victim of someone decompiling your game and stealing your source code! You’re game loses popularity and you just lost a lot of hard work and money!
If there’s one game that’s came out lately that I have really liked… it’s Death vs. Monstars. It’s an exciting simple little flash game with lots and LOTS of bullets. If you haven’t played it, you definitely should. The graphics are simple yet beautiful, and the gameplay is just fun. In this tutorial you are going to learn to make explosions like those in the game.
Whatever you want to call it, a complete Flash game is going to need an user interface that kicks off the game. A place where the user can get more information about the game, see the credits, save the game, load the game, whatever needs to be done. The Menu the starts the game provides this functionality. So how are we going to do it? Well, you’re probably thinking this is a simple task, and it is. We’re going to make it a step simpler by creating a base menu class that we will extend in all our other menu classes. This base class will keep some of our core functionality so we don’t have to write transitions for each class uniquely.
This is a super valuable tip that has saved me a lot of time and headaches when starting a new project. Do you often find yourself copying frameworks like Tweener, Papervision, Box2D, as3CoreLib, and all the many others into the directory of your latest project? It get’s annoying eh? Well there is a quick and very easy way to solve this problem so you don’t have to always copy them everytime you start a new project.
One of the number one ways you can make money off your Flash game is to get a sponsor. One of the number one ways to get a sponsor is http://flashgamelicense.com. That said, if you get a sponsor they are going to want their advertisement at the beginning of your Flash game. Now honestly, this is probably one of the simplest things you can do with Flash. I mean all we are doing is showing their advertisement, which is likely a MovieClip, and then jumping on to our game. But the thing is, you could sell your game to multiple sponsors. You are going to need a quick and easy way to show of the sponsors advertisement and your advertisement without having to change your whole game every time. So today we are going to write a quick simple class to go through and play all our sponsor and credit MovieClips before our game starts.