Games Achievements My Kong Sign In

Comments for Shootorial #3

« Back to Shootorial #3

PewPewPewPewPew

Dec. 08, 2008

Under rating threshold (show) theres no insert button on CS4 for step 4.... HELP

+ - !

(0)

The_Ripper

Dec. 06, 2008

Under rating threshold (show) nvm figured it out

+ - !

(0)

The_Ripper

Dec. 06, 2008

Under rating threshold (show) it say's there is no method with the name root, help!

+ - !

(0)

rainfire555

Dec. 04, 2008

Under rating threshold (show) ive tryed LUA which is sorta the same...

+ - !

(0)

bruik1

Dec. 02, 2008

Under rating threshold (show) um, if i hold down space, my laser will keep growing longer, and no matter what i type, it still fires way above where my ship is...help?

+ - !

(-1)

maximumcool

Nov. 29, 2008

Under rating threshold (show) Well the joy and torture of programming is that if you make even the slighest mistake your whole program grinds to a halt. Takes a lot of patience to figure out where that one line or even letter is wrong. I spelled "missile" "missle" just once and took me a few minutes to notice the mistake and fix it.

+ - !

(1)

ricaminun

Nov. 28, 2008

Under rating threshold (show) got my error! but probably nor urs, I mistakedly (dunno how to spell this) inputted the code of page 5 in the MISSILE CLASS, didnt notice it was for the SHIP CLASS

+ - !

(0)

ricaminun

Nov. 28, 2008

Under rating threshold (show) hmh, Im trying to get a QUICK and SIMPLE way to get the missiles working cuz I cant do it too, not even following other's advices, it just confuses me more

+ - !

(0)

PorkytheHedgehog

Nov. 28, 2008

Under rating threshold (show) So I attempt to make my ship fire missiles but I somehow end up doing something so everything I did before that doesn't work. So much work gone to waste.

+ - !

(0)

BurntBiscuits

Nov. 28, 2008

Under rating threshold (show) Mmmm, not bad. Not just that, its easy to adapt even for people who know very little about Actionscript (such as me). I've rigged my ship to fire a laser with the control button :P

+ - !

(0)

antipathetickid

Nov. 26, 2008

Under rating threshold (show) help! the missiles dont move and dont dissapear

+ - !

(0)

antipathetickid

Nov. 26, 2008

Under rating threshold (show) HELP my ship fires the missiles without pressing SPACE key and they dont dissapear!

+ - !

(0)

MeTaLhEaD

Nov. 25, 2008

Under rating threshold (show) Nevermind, I just found the problem, thanks guys.

+ - !

(0)

MeTaLhEaD

Nov. 25, 2008

Under rating threshold (show) I've tried both those things but it still doesn't work, everything is named "Missle" and theyre all spelt the same.

+ - !

(0)

tahkratos

Nov. 25, 2008

Under rating threshold (show) follow BSteele advice^^

+ - !

(0)

drorfannkyl

Nov. 25, 2008

Under rating threshold (show) Thank you BSteele

+ - !

(0)

slain4ever

Nov. 23, 2008

Under rating threshold (show) It means you don't have a movieclip with the class as missile.when you convert it to symbol, go advanced otions click import for actionscripting, then make the identifier and class missile and it should work.

+ - !

(1)

bladebane

Nov. 23, 2008

Under rating threshold (show) Look at the top, and make sure the class name is missile. Same happened with me when i set "background" tp be pasted, it pasted as ship.

+ - !

(1)

MeTaLhEaD

Nov. 22, 2008

Under rating threshold (show) I've got this error saying, "The class 'Missile' needs to be defined in a file whose relative path is 'Missile.as'." and I've tried almost everything to fix it, can anybody help me?

+ - !

(1)

DarkSoldier

Nov. 19, 2008

Under rating threshold (show) ahh scratch old comment, fixed it. But, when I press space it does nothing but move my screen

+ - !

(0)

DarkSoldier

Nov. 19, 2008

Under rating threshold (show) Help? My compiler error = **Error** C:\Documents and Settings\All Users\Documents\Marine.as: Line 28: This statement is not permitted in a class definition. if( Key.isDown(Key.SPACE) ) Total ActionScript Errors: 1 Reported Errors: 1

+ - !

(0)

Conanian

Nov. 18, 2008

Under rating threshold (show) Folks, make sure that when you copy/paste code from the shootorials that you must delete/overwrite functions from your program! You can't have two onEnterFrame functions in the same class for instance. CHECK YOUR COMPILER ERROR WINDOW!

+ - !

(0)

BSteele

Nov. 17, 2008

Under rating threshold (show) I finally figured this crap out. Everyone having problems, just copy/paste this section to replace your problematic section. NOTE: This is not the full Ship Class, just the missle part of it! Good Luck! ----------------------------------- if( Key.isDown(Key.SPACE) ) { var missile = _root.attachMovie( "Missile" , "Missile" + _root.getNextHighestDepth() , _root.getNextHighestDepth() ); missile._x = _x + 50; missile._y = _y + 2; }

+ - !

(0)

rysty

Nov. 16, 2008

Under rating threshold (show) hey these are great tuorials but im having a bit of a problem with my missile. it comes out from the nose of my ship like i wanted BUT it doesnt move anywhere. im pretty sure i have the code right too.

+ - !

(0)

Elitemidget

Nov. 14, 2008

Under rating threshold (show) D'oh! Stupid me!! Misspelt the Linkage Identifier as "Missle" LOL ... but now my missiles aren't going anywhere. They appear for a split second in front of my ship (smiley face ball thing) and then POOF gone.

+ - !

(0)

Elitemidget

Nov. 14, 2008

Under rating threshold (show) Done code exactly as it says in tutorial, no spelling errors, lackof punctuation, etc, NOTHING noticably wrong, but when I press Spacebar, NOTHING happens. No compiling error,s just nothing. Ship moves as normal, as does the background. HELP. if(Key.isDown(Key.SPACE)) { var missile = _root.attachMovie( "Missile","Missile" + _root.getNextHighestDepth(), _root.getNextHighestDepth()); missile._x = _x + 50; missile._y = _y + 2; }

+ - !

(0)

JoeyKize

Nov. 12, 2008

Under rating threshold (show) I dont get it know why but my "missile" is firing from like an inch above my guy/"ship" I have exactly the same code though -help would be appreciated

+ - !

(0)

Tomboyo

Nov. 11, 2008

Under rating threshold (show) It was a typo in the comments. The shoot limiting variable causes my mouse to make the bullets, not the space bar.

+ - !

(0)

clemsonfan53089

Nov. 10, 2008

Under rating threshold (show) Tomboyo: Don't know if it's in your code, or just a typo in the comment but you have two 'if's

+ - !

(0)

clemsonfan53089

Nov. 10, 2008

Under rating threshold (show) Thanks Luxxenator.. Did it through Microsoft Photo Editor.

+ - !

(0)

Tomboyo

Nov. 10, 2008

Under rating threshold (show) for some odd reason, the bullet fires if my left mouse button is pressed. ifif(Key.isDown(Key.SPACE && shootlimiter>8) ) has nothing to DO with the left mouse. This is a great tutorial, none the less.

+ - !

(0)

luxxenator

Nov. 09, 2008

Under rating threshold (show) clemsonfan : U need a png file to have a transparent layer.

+ - !

(0)

clemsonfan53089

Nov. 09, 2008

Under rating threshold (show) I drew a ship in paint but can't get rid of the white box that overlaps the background.

+ - !

(0)

hastingsfc

Nov. 09, 2008

Under rating threshold (show) grr missiles wont load! why wont it work!

+ - !

(0)

jackcrawf3

Nov. 08, 2008

Under rating threshold (show) What the hell have I done...? I was up to Shootorial #5 and my missiles stopped working when I put collision detection in

+ - !

(0)

radical32

Nov. 07, 2008

Under rating threshold (show) woah night sky

+ - !

(0)

kurathedog

Nov. 06, 2008

Under rating threshold (show) none of my keydowns are working i can't move or shoot but the background moves. i perfectly copied the code. maybe because i am using vista?

+ - !

(0)

pocobor

Nov. 06, 2008

Under rating threshold (show) Virtualcrush try saveing all of the classes again nd make sure there in the same place. That error usualy means its not saved right.

+ - !

(0)

youlosepoints

Nov. 06, 2008

Under rating threshold (show) This screwed me up a little bit in the beginning. remember that the code in you missile class isn't called unless the missile Movieclip is on stage.

+ - !

(0)

LakeDead

Nov. 06, 2008

Under rating threshold (show) To all people whose missiles APPEAR but they stand still no matter the speed values etc. The FILENAME has to be spellchecked too! I checked spelling from within the code and everything was ok. But then i saw my class file was saved as missile.as.. changing it to Missile.as made the missiles work. Such small change, such great results. =)

+ - !

(0)

virtualcrush

Nov. 05, 2008

Under rating threshold (show) CHECK YOUR SPELLING. Hey guys, after all that I found my problem. I deduced that flash was running the actual image through because they were popping up on screen when I hit the spacebar, so that problem had to have been the "Missile" class. I went to the missile and checked and checked and rechecked it. Finally I read the name of what I saved it. I named it Missle. Yep, I forgot the i. lol So check your spelling thouroughly guys.

+ - !

(0)

virtualcrush

Nov. 05, 2008

Under rating threshold (show) Ah, I was wrong. My missiles are supposed to be moving. They are not moving, they are popping up in front of my ship and staying in place. I have looked at all my code to verify they are all correct. All of my classes are saved in the proper places to. So I can fire the missiles but they dont move. They are popping up in front of my ship and I am getting the error mentioned in my previos comment. Any help would be appreciated.

+ - !

(0)

virtualcrush

Nov. 05, 2008

Under rating threshold (show) Ok, I am up to part 7 of this tutorial. I have the missles working. Wherever my ship is the pop up right in front of it. I realize I will make them move later. The problem at this moment is, its all working yet I am still getting a compiler error. Location: Symbol+Missile, layer=black line, frame=1, line 1 Description The class or interface 'Missile' could not be loaded. Again, even though I am getting this I can still do the test it and move my ship around and fire missles. They stay where they are but I can fire them as you should here, just have an error at the same time. Any help would be appreciated.

+ - !

(0)

hastingsfc

Nov. 05, 2008

Under rating threshold (show) aah no idea what ive done wrong but now nothing works! had scrolling background etc working, tried adding missiles and its gone wrong :(

+ - !

(0)

ejenks909

Nov. 02, 2008

Under rating threshold (show) these tuts are awesome. So far I've managed to recreate and troubleshoot my flash game. Thanks Kongregate!

+ - !

(0)

Gamgam0

Nov. 02, 2008

Under rating threshold (show) My missiles wont shoot its so annoying

+ - !

(0)

Jdafrog

Nov. 01, 2008

Under rating threshold (show) probably cos you havnt set the right variable for the missile's speed

+ - !

(0)

Drworm356

Oct. 31, 2008

Under rating threshold (show) when i shoot my missile all that happens is that it stays there and doesn't move and i've checked spelling and everything that i've thought of and nothing works

+ - !

(0)

popey456963

Oct. 30, 2008

Under rating threshold (show) very good 5/5

+ - !

(0)

dazzykizzy

Oct. 30, 2008

Under rating threshold (show) Best tutorials ever, not just giving you scripts and telling you to add them to stuff, actually tells you what the scripts mean. If there is a problem with your game, make sure all the as files are saved and check the as on the tut and compare it to yours. 5/5

+ - !

(0)

  • add a comment
Developers Players Support YouTube TikTok X (Twitter) LinkedIn
Join the conversation Join Discord
Terms Privacy Code of Conduct
© 2024 Kongregate