Games Achievements My Kong Sign In

Comments for Shootorial #3

« Back to Shootorial #3

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)

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)

mikajendo

Oct. 30, 2008

Under rating threshold (show) These tutorials are great. Its really hard to find free flash tutorials as good as these on the internet.

+ - !

(0)

skyblader333

Oct. 30, 2008

Under rating threshold (show) blaXpirit.... its thought, not thinked

+ - !

(0)

K6I6N6G

Oct. 28, 2008

Under rating threshold (show) FireFox, you have to save your AS class files before you test your movie.

+ - !

(0)

Zavash

Oct. 27, 2008

Under rating threshold (show) have all the code in place but my missiles wont move HELP, i have the _x += velocity; and the onload function defines properly but it still won't work@ i have the same problem here

+ - !

(0)

FireFox343

Oct. 27, 2008

Under rating threshold (show) My codes have no errors but for some reason my classes arent loading. Could someone help me out?

+ - !

(0)

donkeypunch

Oct. 26, 2008

Under rating threshold (show) I fixed my mistakes, works great!

+ - !

(0)

manuubeda

Oct. 26, 2008

Under rating threshold (show) i need this shootorial in SPANISH!!!

+ - !

(0)

risos

Oct. 26, 2008

Under rating threshold (show) When you are putting the code in for the missile to come out from the nose of the ship, setting _y to _y +2 is a bit off center, 3 works better.

+ - !

(0)

ayd11

Oct. 25, 2008

Under rating threshold (show) i cant shoot

+ - !

(0)

BlaXpirit

Oct. 25, 2008

Under rating threshold (show) i also thinked about it, ferox

+ - !

(0)

ferox

Oct. 25, 2008

Under rating threshold (show) Continually incrementing the shootLimiter variable can cause an overflow if the player decides not to fire for a while. To fix this change the line shootLimiter += 1; to the lines if(shootLimiter <= 8) { shootLimiter++; }

+ - !

(0)

kilodude

Oct. 25, 2008

Under rating threshold (show) i have all the code in place but my missiles wont move HELP, i have the _x += velocity; and the onload function defines properly but it still won't work

+ - !

(0)

ChoccitCake

Oct. 25, 2008

Under rating threshold (show) These tutorials are brilliant. I really appreciate the time taken to make these, as they are a great help to get started and attempt to understand actionscript with the explanations given. I'm so glad you show a screenshot each time there's new actionscript, as it's so easy to make one simple mistake or typo, and you'll end up with nothing...

+ - !

(0)

SACRIER

Oct. 24, 2008

Under rating threshold (show) Took me an hour to fix the missile problem the problem was my missile movie was misspelled.

+ - !

(0)

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