Upgrade Your Account!

Hey! To start this decade right, we believe Newgrounds should be ad-free for EVERYONE. For this to work, we need people who have the means to become paying supporters. For just $3 per month or $25 for the year, you can help this happen and get some nice perks!

For the month of January we have disabled ads on all E-M content. We need 164 people to reach our January goal of 3,000 active supporters. If we hit that, we'll continue with a new goal in February!

Please check out our Supporter Upgrade and consider coming aboard!

spaceship game tutorial

Share Collapse

Author Comments

Well, after about 5 months of frustration, banging my head against the keyboard, and working on as many other things as I could so I wouldn't have to work on this anymore, I've finally completed spaceship tutorial. It may be the best tutorial you've ever seen, and it may be the worst. If it's the worst, you need to see more tutorials. For all of you who didn't understand, in order to go forward/back an instruction, you can either press the left or right arrow keys on your keyboard, or you can click on the bottom left and right corners of the screen. In some cases, like when there's an example where you use the arrow keys to steer your character, you have to click on the bottom left/right hand corner to progress. If there's anything that's bothering you about this, please tell me right away. Or some time later. I don't really care. I know, there may be some glitches, but... umm... okay. So I don't really have any other excuse besides that I'm not the best actionscripter in the world. I'm the best actionscripter on Mars, but only Fredrick and I live there. Well, that's my description. Hope you liked it. And I hope you like the tutorial. :)

Log in / sign up to vote & review!

Newgrounds accounts are free and registered users see fewer ads!


awesome, easy to follow and it actually works.

trekopep responds:

Excellent. Glad to help. :)


Great tutorial for a beginner, though you could of used variables:
Put this in a frame:
var speed:Number = 5
That way you can write "speed" instead of 5 in your scripts, and you can use speed*3 instead of manually having to change each number(in case the speed is too fast, or you can change the speed(on a bonus round or sumat)by on the bonus round's frame putting:
Though 100 is alot.

trekopep responds:

Yup. Since I made this tutorial, I've improved in actionscript a lot. I look back on this as something that WORKS, but doesn't work extremely WELL. Variables have become one of my best friends in coding. However, this is, as you said, a beginner-oriented tutorial, so I guess it's okay.

Thanks for the review!


Everthing is so clear, and your humor makes this not boring, 10\10, 5\5
My next flash project is a space ship shooter, but I didn't really know how to make one, and you showed me how in a great way!
Thanks a ton :)

trekopep responds:

Ha, no problem! I'm glad I could help!

I lIke It!1

I really like your tutorial!! it's so clear and easy to understand!^_^
(NOTE: there is a hidden button onthe lower left adn right)

trekopep responds:

Yeah, I mentioned that in the beginning of the tutorial, I think. Anyway, glad you liked it, and thanks for the review!

Good, but....

Okay, this tutorial was good, and it worked for the most part. Actually, this was probably the best flash tutorial I've ever used (that worked). However, I noticed that on your game the flying animation continues while the "fish" is shooting, and can still be knocked back. How did you do this? Whenever my spaceship is shooting the flying animation stops and it can't be knocked back. Also, mine can shoot over and over, while yours has a pause before it can shoot again. Basically, all you have to do on mine is hold space and you're invincible. I made a newgrounds account just so I could get help on this tutorial, so please respond back soon!

Thanks in advance!

P.S. You forgot to put an underscore before _root.fish.gotoandStop(1) and others. That kept me very frustrated for a few days. You might want to fix that ;)

trekopep responds:

Oops. Sorry. Thanks for the review, and I'm glad you liked it! I'll respond to your question in a PM, rather than cluttering review space. :P