Heres a sidescrolling shooter engine I coded that you may use to learn from. It has a basic platform engine and various weapons. It uses basic trigonometry to calculate the angle to shoot the bullets. The last weapon is a laser tripwire which is pretty cool, I haven't even used that in a game yet. Feel free to edit and modify the code as you wish. Just don't use the graphics in any released projects. Hope this is helpful for you to make your own game.
Have a go at the editor here - WASD to move in test. Number keys to select Weapon. Mouse to shoot.
(Has Sound Effects)
Download the .fla file here
Sometimes in game making it's great to make your own level editor. This allows you to save a lot of time when it comes to making the levels later because you can simply post in the array for each level and load it by numbers. Also good for including in the game so other people can make there own levels and share with friends. Heres one I coded that you can use for free to learn from. The code exports an array to fill the grid, each block number is represented by a number. 1 being a basic block and any other numbers can be added for extra pieces. The array uses a | to seperate the lines to be able to load the level from the text. My game Time Sphere used an advanced version of this engine to make.
Have a go at the editor here - WASD to move in test.
Download the .fla file here
The main way I've made money in flash games is through sponsorships. It takes a while to get in contact with them all and on top of that even getting a reply sometimes can be difficult when first starting out. Luckily for me I was able to strike a good partnership with Armor Games and usually go with them the most. However they don't always want all my games so then I would seek out others, but I going to them first though shows loyalty and gives him first choice to improve success. Below is all the sponsors I have used. Theres many more out there though.
Networking is very important, try not to bother them until you've made something good to get on there radar. Half the battle is just being noticed, once you are in contact things get easier. So if you are just starting out don't worry too much if you don't get emails back, release the game with ads and just move onto your next game and try them again and try present the email in a quick easy to read way.
Overall my sponsorships have varied from as little as $100 all the way up to $5000. I've heard of big games making even more than this, but I havn't been able to break higher yet. I think if I totaled all my games sponsorships, I would have made around $30k - $50k. Also talk to sponsors about in game ads. You want to try combine as many revenues as possible for maximum profit.
By far the best sponsor I've worked with. The owner is called Dan and is friendly, offers good prices and is very understanding. Overall I've found him the best to work with above all else, he also responds to my emails quickly which I really appreciate. Games do need to be of good quality though, if you've made a great game check them out for sponsorship.
A pretty popular site, the owner is called John and is very easy to talk too. They are very strict on what they sponsor though and will only take really good games, however he always is willing to check out new stuff.
A very hard website to get hold of, and even harder to get sponsored. If you are lucky enough to be chosen though they have a collection of over 40 portals in all different languages. Which means you have to translate the game to all languages to be released with them. I've only ever done that once with Heaven and Hell and it was a tiring process but they did offer a good price to make it worth it.
This website I think has moved onto a new portal recently, so I'm not sure which branding they sponsor under now. They sometimes offer very low deals but can be negotiated higher which I often did. They were good for games I didn't get sponsored elsewhere as they are willing to take a higher chance on games.
Not sure if they are still sponsoring, but I had a few smaller games for lower amounts sponsored through them which was good and they were friendly and easy to work with.
Getting sponsored by Newgrounds is rare, they only take the best of the best and sometimes they don't even do that. They more lean towards putting there in game ads in, but if you think you've made a great game then give the owner TomFulp an email, he offers very high prices if the game is great. They also sometimes sponsor really good animations.
Kongregate started out sponsoring smaller games but I think they have now raised the bar. They usually offer performance deals which can be a mix of in game ads and there logos. The better the game does the more money you make. This is a risky move, but can be very profitable if you think the game will be viral
Adding sound and music to a game really transforms it. I like to leave sound till the very end. Cause once you take a huge game and add sound and music, all of a sudden it comes to life and feels really immersive. I'm not the greatest with sound effects, I usually cut them together fairly quick. So I'll share some great sound effect and music websites I use.
Worth noting is you will have to download an audio editor, some sound effects need a little chopping at the start and end or maybe make the volume louder. This will expand the amount of sound effects you can use that you find online if you are willing to edit them yourself. A great free audio editor is Audacity, I recommend downloading it.
Huge downloadable packs of sounds for free. These are more movie effects, but work very well in games. Remember with sound you can take a completely different sound effect and make it work for something else with some clever editing. The mind tricks the ear by using visual stimulation to make the sound more fitting with what they see.
Mixed feelings about this site, they used to be free and the best sound on the net, but now you have to pay. Not sure if they still offer 5 free sounds a month or got rid of it. A good option anyways if you're willing to pay for some top notch sound effects by famous sound producers.
One of my favourite, they have a lot of real sound effects if your looking for something less cartoony. Huge list of sounds as well.
Good for simple effects in a pinch or starting out. I'm not a huge fan of this resource due to the quality being a lot lower than the other links, but with sound effects sometimes you needa search multiple places looking for that right one.
My favourite place for getting music for my games. It's made by other indie developers so when you submit your game you can link the track back to there profile to show support which is a great idea for uniting sound artists together with flash artists.