Space Shooter Game
Description: Learn how to write a space shooter game by dissecting the fla
Author: John Bezanis
Added: May 10th 2007
Version: Flash 8
This is a script for a basic overhead space shooter game. At the moment there is no sound and only 2 levels. There is a boss at the end of each level. The ship moves using the direction keys and fires using the ctrl key. There are powerups which give an extra life and one which gives a trishot. There are enemies that fire lazers, enemies that fire trishot lazers, enemies that fire at the player's ship, and enemies that zigzag. There is a boss that has multiple segments like a centipede which has multiple hit areas. The first segment is a head. If a segment which is not the head is destroyed, the next segment becomes a head and breaks off as its own centipede. Stars move in the background. A score is kept and each enemy gives different points when shot. The source fla is well documented with line by line comments. Download it below:
Download Source File
Comments
May 27th 2007 12:05PM - person
It may be that your copy of Flash is too old. If you have an older version of ActionScript, this source file may not be compatible.
May 27th 2007 05:05PM - Egan
Is there a way to upgrade my flash so the source file is compatible, or do I have to try to make a space game on my own?
May 27th 2007 07:05PM - person
i have a similar problem but i have flash mx 2004. it says "unexpected file format". Again it might be because you have used flash 8.
May 28th 2007 05:05AM - guy
The file is saved as flash 8. You will need flash 8 or newer to open it.
May 28th 2007 12:05PM - John
i have many flash games in my made games but not a top down shooter tnxs. X)
May 28th 2007 12:05PM - gart
okay, I started trying to make a game like this in flash 6. I got almost everything done but I can't figure out how to make the badguys move back and forth. can anyone tell me how to do this?
May 28th 2007 08:05PM - person
hello peoples i am ur father
May 29th 2007 01:05AM - hash
This is a total rip-off of a game from Duane's Games
duanesgames.atspace.com
duanesgames.atspace.com
May 31st 2007 11:05PM - Duane
I added a third level and am currently trying to add new enemies, but I can't see the code for the existing enemies. It doesn't exist in the frame code, and they don't move by magic. Could you please help me?
June 1st 2007 10:06PM - Egan
Ahh, great to see someone is improving this game. Egan, the code for each enemy type can be accessed by opening up the symbol for that enemy in the library, and then clicking on frame 1 of the ship layer. You'll know there is code because of the little "a", I assume meaning actionscript.
June 2nd 2007 06:06AM - John
Ah, thanks very much. I will post with the altered game soon, if you'd like.
June 2nd 2007 11:06AM - Egan
Hey thanks to you i can finally make some games once i get the hardware thanks again for putting the tutorial down=D
June 2nd 2007 04:06PM - Dragon Master
I have added a new weapon and am in the process of adding a new level. Click my name to play.
June 2nd 2007 07:06PM - Egan
hey buddy cud u just copy da file into a 'note pad' file much easier for every one :)
June 4th 2007 12:06PM - dan
I have successfully added the powerups and lazers for 3 new weapons: a big blue shot that does 5 damage, a double big blue shot, and a pink shot that passes through enemies and does 3 damage. Haven't made much progress on level 3, though.
June 4th 2007 02:06PM - Egan
I have added loads to this game (click my name to play), but I have found that level 1 keeps repeating once. This means that level 1 is level 1, so is level 2 and level 3 is level 2. Does anyone have any ideas to fix this?
June 4th 2007 02:06PM - Ant59
errr wers da tutorial
June 5th 2007 10:06AM - mattypoo
errr did you even bother to read the 1 paragraph under the flash file? it says
"The source fla is well documented with line by line comments. Download it below: "
so download it and never say anything like that again unless you read the page.
"The source fla is well documented with line by line comments. Download it below: "
so download it and never say anything like that again unless you read the page.
June 5th 2007 01:06PM - mattypooisstupid
Just got the game...love it...now modified with 10 levels and no longer space but army men
June 9th 2007 10:06PM - Chris
So...wheres the tutorial?
June 11th 2007 07:06AM - Davie04
Duane beat me to the punch on his comment but I was thinking the exact same thing.
June 11th 2007 12:06PM - M.C. Bus Stop
Thanks for some great source!
As for the h8tr claiming to have invented games like Galaxian and Galaga, lol. Everybody's made a shooter game.
As for the h8tr claiming to have invented games like Galaxian and Galaga, lol. Everybody's made a shooter game.
June 28th 2007 05:06PM - Dude
errr my comp with flash 8 on has broken so i'm stuck with flash mx 2004 so could you possibly send me the code
July 4th 2007 04:07PM - Bob
urmum
July 12th 2007 04:07AM - urmum
Hey, this is one of the best tutorials I have worked with, cheers.
Unfortunatly I can't work out how to add more enemies. What bits of code need to be changed? Example if I just duplicate one of the other ememies and change the number to 5 and then add it into the list for level 1, it doesn't appear. What else needs to be done?
Cheers in advance for any help
Unfortunatly I can't work out how to add more enemies. What bits of code need to be changed? Example if I just duplicate one of the other ememies and change the number to 5 and then add it into the list for level 1, it doesn't appear. What else needs to be done?
Cheers in advance for any help
July 13th 2007 10:07AM - Roxit
roxit you have to set the linkage of the enemy to enemyship5 or something like it. this is the name you have to use in the enemymap.
August 17th 2007 11:08AM - manarius
First of all, this is a GREAT tutorial!
I've been trying to change things around and make the screen scroll sideways instead of down. How do I make the stars go right-to-left instead of up-to-down?
Any help would be greatly appreciated!
Thanks!
I've been trying to change things around and make the screen scroll sideways instead of down. How do I make the stars go right-to-left instead of up-to-down?
Any help would be greatly appreciated!
Thanks!
August 23rd 2007 03:08AM - slothman
Thanks, starfield is located at position 0,0 on the main level. Open it up and you'll see the code. Swap _x's with _y's and _width's with _height's.
August 23rd 2007 07:08AM - John
Thanks bro, your tutorial is great and very well documented, this is just what i need to make my game for my multimedia class. your a champ, rock on.
September 7th 2007 05:09AM - harry
i wanted to make my own ship with in this game how would i go abouts of doing so?
October 27th 2007 01:10PM - Fawkes
The graphics for the ship are located within the movieclip ship. Frame 1 is the ship i normal state, Frame 2 begins its hit state, And frame 14 is when it is warming up, not able to be damaged. The hit and warming up states use frame labels, so your animation lengths don't need to be the same as the default, as long as you keep the frame labels.
October 27th 2007 05:10PM - John
sorry, dumb question, I can't find the tutorial when I download the file????
December 21st 2007 11:12AM - jen
Hi the game is amazing!!! but could someon tell me how can be change the speed of the stars? I would like to change it for clauds so it should be slower? thanks a lott!!!
January 8th 2008 12:01PM - kuba
how can i edit how the main ship looks in battle?
January 16th 2008 08:01PM - Spencer
how do i make enemies attach to the game and fly toward me?
January 23rd 2008 04:01PM - tyler
I want to do a game controlled for the key. B ut i have seen to other pages and the action script or some thing is different, and it have errors.
Anyone can aid me?
thanks.
visca catalunya lliure!
Anyone can aid me?
thanks.
visca catalunya lliure!
June 18th 2008 08:06AM - Ramon
Can someone post a version for Flash MX 2004? I have an old version.
Thanks!
Thanks!
July 6th 2008 03:07AM - Totoro
This is such a helpful tutorial, nice one, iv never ventured into flash gaming before and have managed to create 4 other levels. I was wondering how i could make a selection at the start screen where the player could choose from a selection of ships. For now just different colours, and then i would like to work out how to change the movement speed and type of weapon on my own. Any ideas would be much appreciated...
November 12th 2008 11:11AM - Sparks
sweet tutorial
November 17th 2008 12:11PM - carlos
hi.. how can i make the game in a x angle? i mean i like the all the ship will come out from the x direction, pls help.. tnx
February 17th 2009 02:02AM - bochie
nice
October 6th 2009 08:10AM - me
am i able to download the game and the action script somewhere..(Your actual flash file)
please
please
October 8th 2009 05:10AM - razimoz
This would be a great function to have. very impressive.
Regards,
Regards,
October 9th 2009 09:10PM - GCSE Coursework Help
I think its just a simple loop and image reduction to a centered point. Looks cool!!
October 9th 2009 09:10PM - Dissetation Help
I want to have goto next frame on right mouse click.
October 13th 2009 10:10AM - Essays
I'm no pro but i believe _global would hold the document's dimmentions. If you want to change the size of the player that is playing the video, that would be javascript DOM
October 13th 2009 10:10AM - Research Paper
frango
October 19th 2009 09:10AM - pretuh
Its quite confusgin i m not getting it at all..
October 20th 2009 08:10AM - logo design
Hello sir, I need a small request.I need a goto next frame.Would be great if you hlp me.Thanks
October 30th 2009 12:10PM - New Adult DVD
What are some good action\RPG\shooter games for my Lenovo 3000 N100?
November 17th 2009 02:11AM - SEO
Hi the game is amazing!!! but could someon tell me how can be change the speed of the stars? I would like to change it for clauds so it should be slower?
I
I
November 24th 2009 10:11PM - Otimiza
The ship moves using the direction keys and fires using the ctrl key. There are powerups which give an extra life and one which gives a trishot
December 4th 2009 09:12AM - insurance for dentistry
Great game, so addictive! I keep saying 'one more game' and then I look at my clock and it's been an hour!
December 5th 2009 06:12AM - Puma Goalie Gloves
Wonderful, thanks.
December 6th 2009 01:12AM - seo
Very Nice!
December 7th 2009 12:12PM - Web Hosting
Very nice, I was always interested into learning how to do that.
Aaron
Aaron
December 7th 2009 08:12PM - Web Hosting
Great game. I should be doing work but this is much better. :-)
December 9th 2009 07:12PM - wealthy affiliate scam
I have bookmarked your site. Thanks for sharing
December 13th 2009 08:12AM - dental
Great game, so addictive! I keep saying 'one more game' and then I look at my clock and it's been an hour!
December 17th 2009 10:12AM - electronic cigarette
Your posts are always very informative and interesting to read. Also like the look of your site.
December 19th 2009 10:12PM - electronic cigarette
Your posts are always very informative and interesting to read. Also like the look of your site.
December 25th 2009 01:12AM - Montblanc watches
great post.
December 26th 2009 01:12AM - nfl jerseys on sale
The posts you have on your site are always very interesting to read. Will keep you bookmarked..Thanks.
December 29th 2009 01:12PM - Drug Testing
Great game, so addictive! I keep saying 'one more game' and then I look at my clock and it's been an hour!
January 1st 2010 09:01PM - Cialis
haha nice game =] didn't make it past 7k points maybe next time!
January 3rd 2010 06:01AM - Matthew Gannon
Great simple and very addictive game... thanks for sharing!
January 3rd 2010 03:01PM - Kidderminster Solicitors
There are many difficult games in this website include this game. I think it like "demon star" which is popular game in the past.
January 4th 2010 01:01AM - jobs
i like
January 4th 2010 01:01AM - Wedding Gowns
Your posts are always very informative and interesting to read. Also like the look of your site.
January 6th 2010 09:01AM - Trade Show Booths
OMG i love this game haha.. It needs a little more work but i just played it for about 1 hour.
January 6th 2010 08:01PM - Las Vegas Escorts
Thank you for sharing information in the blog. You are
really doing a good work.
<a href="http://www.cliftonsmiles.com/dental-implants.html">
Dental Implants Bristol</a>
really doing a good work.
<a href="http://www.cliftonsmiles.com/dental-implants.html">
Dental Implants Bristol</a>
January 7th 2010 04:01AM - dental implants bristol
I love the space shooter game. I have been playing this for while and just love it. I would love to see more games like this.
January 14th 2010 03:01PM - dallas family dentist
very cool game and i scored 2546 for the first time play.
January 14th 2010 07:01PM - best cricket phones
Wohoo, love these simple games. Pong wasnt a hit for nothing you know :)
January 17th 2010 02:01PM - jumpmanual
Best game ever :)
January 18th 2010 02:01AM - grow taller
I took what you said into consideration to establish a few facts.
January 20th 2010 08:01PM - What is SEO
To be honest, I really enjoyed playing. It reminds me of a video arcade game I used to play when I was a kid.
January 21st 2010 02:01AM - hiSunglasses Review
To be honest, I really enjoyed playing. It reminds me of a video arcade game I used to play when I was a kid.
January 21st 2010 02:01AM - hiSunglasses Review
Great game. Downloaded for play
January 21st 2010 01:01PM - Space Screensavers
good articles
January 22nd 2010 02:01AM - web designing
nice game
January 22nd 2010 04:01AM - Narconon
cool.
January 23rd 2010 04:01PM - viagra side effects
January 26th 2010 02:01AM - df
i just wanna thank you for sharing your information and your site or blog this is simple but nice article I've ever seen i like it i learn something today.
<a href="http://www.myticketin.com">Houston Texans Tickets</a>
<a href="http://www.myticketin.com">Houston Texans Tickets</a>
February 5th 2010 01:02AM - John
Special thank for good post.
February 5th 2010 08:02AM - โหลดเพลงà
Special thank for good post.
February 5th 2010 09:02PM - โหลดเพลงà
Thank for the information
February 6th 2010 07:02AM - โหลดเพลงm
sorry, dumb question, I can't find the tutorial when I download the file????
February 7th 2010 06:02AM - บ้&am
Special thank for good post.
February 10th 2010 03:02AM - โหลดเพลงà
Special thank for good post.
February 10th 2010 03:02AM - โหลดเพลงà
good
February 10th 2010 07:02AM - Banner Ad Blueprint
Special thank for good post.
February 10th 2010 08:02AM - โหลดเพลงà
Special thank for good post.
February 10th 2010 08:02AM - โหลดเพลงà
HELP!
I don't see the actionscript files anywhere (just the fla), how can I find them to learn and modify the game?
can you email me at Mcchan87@gmail.com?
I don't see the actionscript files anywhere (just the fla), how can I find them to learn and modify the game?
can you email me at Mcchan87@gmail.com?
February 23rd 2010 02:02AM - Michael
Add a Comment






"Flash 6.0 r25 has encountered a problem and needs to close. We are sorry for the inconvenience."
then I can click DEBUG, SEND ERROR REPORT, or DONT'T SEND.
I've clicked on those buttons and none of them work, so what am I supposed to do???