Games Achievements My Kong Sign In

Comments for Shootorial #3

« Back to Shootorial #3

wobalisk

May. 13, 2009

Under rating threshold (show) the shootlimiter should be defined in the top of the ship class as var shootlimiter; check that that is there. for the class missile you should have a Missile.as saved in the same directory as your fla. If you have that go to your library rightclick on Missile symbol and select preferences make sure the export for actionscript is ticked (in advanced) and that the 'Class: ...' bit matches the 'class ... extends MovieClip' in Missile.as and also matches the '... .as'

+ - !

(0)

britsfinest

May. 09, 2009

Under rating threshold (show) its says the class or interface missile could not be loaded, and there is no property with the name shootlimiter...

+ - !

(0)

kilador

May. 07, 2009

Under rating threshold (show) i dont get is i get my missile but it wont go anywhere its just standing stil and there stands this cant load missile pleas help

+ - !

(0)

Maggotheart

Apr. 30, 2009

Under rating threshold (show) Lost track a couple of times on this one.

+ - !

(0)

Pokenerd35

Apr. 21, 2009

Under rating threshold (show) Blue turnip - their idea works great, what you did wrong is put the registration to the upper right - if you had it in the center like they said to, you would have no problems.

+ - !

(0)

nerd2005

Mar. 23, 2009

Under rating threshold (show) how to make it move(works on Flash 8, CS3, CS4) make the missile movie clip, inside it make anouther movieclip. that other movie clip paste the code: onClipEvent(load) { function onLoad() { speed = 20; } function onEnterFrame() { _x += speed; } } TADA it works ! nerd2005 the HERO

+ - !

(0)

nerd2005

Mar. 23, 2009

Under rating threshold (show) thanks to shadowx247(the hero) i got it to work

+ - !

(0)

Necroscope

Mar. 15, 2009

Under rating threshold (show) For everyone: if your missiles dont move, just rename all! I renamed it with the German Name Schuss and it worked!

+ - !

(0)

BlueTurnip

Mar. 13, 2009

Under rating threshold (show) 1ashl, i had that problem temporarily. Basically i had pasted the function onEnterFrame() { _x += speed; if(_x > 600) { this.removeMovieClip(); underneith the function on enter frame _x = _x + 0; or something which caused the missiles not to move but 2 b destryoed if they go past 600. Hope i helped =S

+ - !

(0)

BlueTurnip

Mar. 13, 2009

Under rating threshold (show) For anyone who wants it: I have fine tuned the pixels at which the missiles come out of your ship and i have found that missile._x = _x + 85; missile._y = _y + 22; works best. So ignore their ideas because their's shoots the missiles ut of the roof which i think is pretty stupid. Mine shoots them out of the nose. Hope i helped =D

+ - !

(0)

flaptop23

Mar. 07, 2009

Under rating threshold (show) AAHH THIS IS SO HARD FOR ME!!!

+ - !

(0)

TerryS

Mar. 05, 2009

Under rating threshold (show) I just started picking up flash again after many years off since I last used it (Flash 3). This tutorial (and the subsequent 7 as well) are hands down the best programming tutorial i've EVER seen. In addition, as of March 5, 2009, I got all the tutorials to work exactly as advertised using CS4 so to those who are having troubles, try FOLLOWING THE DIRECTIONS. 5/5. Favorited. Terry S

+ - !

(0)

BSteele

Mar. 02, 2009

Under rating threshold (show) 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)

Neosano

Feb. 24, 2009

Under rating threshold (show) shadowx, code for cs3 and cs4 is same.

+ - !

(0)

shadowx247

Feb. 23, 2009

Under rating threshold (show) had some problems for making this on cs4 you have to create the new missile MovieClip, then draw the missile and make it into another MovieClip then add code onClipEvent(load) { function onLoad() { speed = 20; } function onEnterFrame() { _x += speed; } } to the new movieclip on the movieclip

+ - !

(0)

McJake

Feb. 22, 2009

Under rating threshold (show) I absolutlely CANNOT get things to "spawn" as it were. AT ALL. Not just this tutorial either I've been on a few other sites before this. Have followed these instructions to the letter, three times, and still not working. I f***ing give up.

+ - !

(0)

1ashl

Feb. 16, 2009

Under rating threshold (show) the missile can be shot out of the ship but it doesn't move from where it comes out. any help?

+ - !

(0)

Lordkronos

Feb. 16, 2009

Under rating threshold (show) Nevermind, worked it out. Just import it as normal, convert to a movie clip, then delete from the stage but not the library.

+ - !

(0)

Lordkronos

Feb. 16, 2009

Under rating threshold (show) It's not explained in this tutorial, but is there a way to draw the missile in paint and import it into flash, while still using the same code etc. as used in this tutorial. (I'm confused because if I import it, I'm not sure where to put it in order for it to appear when I press space.)

+ - !

(0)

ZombieAutopilot

Jan. 29, 2009

Under rating threshold (show) Thanks!

+ - !

(0)

Neosano

Jan. 27, 2009

Under rating threshold (show) Zombie, you forgot these lines: missile._x = _x; missile._y = _y;

+ - !

(0)

ZombieAutopilot

Jan. 26, 2009

Under rating threshold (show) I have my missiles firing out of the nose of the ship, but when I move, the missiles still fire from the original location of the ship. What did I do wrong?

+ - !

(0)

StateXCbeast

Jan. 26, 2009

Under rating threshold (show) Ok, I have made the missile and entered the exact action script code, except I get this error: This statement is not permitted in this class definition: if( Key.isDown(Key.SPACE) ) any help?

+ - !

(0)

stratoff

Jan. 26, 2009

Under rating threshold (show) had a problem with missiles not flying. i changed syntax of "missile" in Ship.as to "Missile", in 3 cases of "blabla Key.SPACE blabla" code. that work now :p

+ - !

(0)

addictednerdyfat

Jan. 18, 2009

Under rating threshold (show) How do you change the line width?

+ - !

(0)

EndersChosen

Jan. 15, 2009

Under rating threshold (show) when are you getting that error? I'd double check your missile.as file.

+ - !

(0)

Crossrage

Jan. 13, 2009

Under rating threshold (show) i need help! i have all the coding written correctly along with my classes because i know everything is case sensitive. Im not gettin any error messages. But the Missile isnt moving. i looked at previous posts and i changed the speed and what not but its stil not working.

+ - !

(0)

apostolias

Jan. 11, 2009

Under rating threshold (show) i finally found what i did wrong,i feel stupid now

+ - !

(0)

apostolias

Jan. 10, 2009

Under rating threshold (show) i do everything as it says but when i test it says unexpected && encountered i just dont get it can u help me plz??!!!

+ - !

(0)

AAALEX

Jan. 06, 2009

Under rating threshold (show) oh.. it`s quite simple. I like it. Thank you, Kongregate.

+ - !

(0)

aleswolf

Jan. 05, 2009

Under rating threshold (show) For the white part of the missile you need a new Layer!!

+ - !

(0)

aleswolf

Jan. 05, 2009

Under rating threshold (show) "_root" is the main directory of your flash project.

+ - !

(0)

whammybar95

Jan. 04, 2009

Under rating threshold (show) Argh! I can't get the missiles to shoot out of the ship (or anywhere for that matter) Help please.

+ - !

(0)

wildk

Jan. 04, 2009

Under rating threshold (show) I still don't understand what does the "_root" means.Can anyone explain in a simpiler way for me plz?Thx

+ - !

(0)

whammybar95

Jan. 03, 2009

Under rating threshold (show) Never mind I got it.

+ - !

(0)

whammybar95

Jan. 03, 2009

Under rating threshold (show) I can't figure out how to put the white part of the missile on top of the black one.

+ - !

(0)

ApedogMophead

Jan. 01, 2009

Under rating threshold (show) I FEEL SO FULFILLED

+ - !

(0)

rscp1050

Jan. 01, 2009

Under rating threshold (show) ok i got an error "The class 'Missile' needs to be defined in a file whose relative path is 'Missile.as'." how do i fix that? But my game still works!

+ - !

(0)

rscp1050

Jan. 01, 2009

Under rating threshold (show) ok for the missle it says width 2 times. whhich one is right?

+ - !

(0)

Stripa_Gal

Dec. 27, 2008

Under rating threshold (show) i think i'm gonna explode out of anger... i'v manage to shoot the missile but it is creating a path instead you can use the ship as a pencil making rows and dashed column..and the background thing is very weird indeed. i can see another background scrolling behind the background without loop. like it is only covering the blank part but it seems like those sky scrappers are eaten by that without loop background...:S

+ - !

(0)

Woad

Dec. 24, 2008

Under rating threshold (show) Kongregate isn't the only place to look for help with flash you know... For multiple keys at once go to: http://www.8bitrocket.com/newsdisplay.aspx?newspage=8141

+ - !

(0)

ruidarkage

Dec. 23, 2008

Under rating threshold (show) hummm does some one knows how to make use of 3 or more keys at the same time?? for example... when you're trying to move to the top left corner using Up and Left keys, and you try to shoot, bug happens... How to fix that?? Hope I made myself understood...

+ - !

(0)

PewPewPewPewPew

Dec. 21, 2008

Under rating threshold (show) wow... 9.5 days to reply..... you people REALY do help, my trial is almost over :P

+ - !

(0)

BW343

Dec. 20, 2008

Under rating threshold (show) can anyone give me the WHOLE code for the thing you put in the ship tab?

+ - !

(0)

Vibetoon

Dec. 18, 2008

Under rating threshold (show) @PewPewPewPewPew: The insert button is there, but you have to be watching the Ship.fla. Is there someone who can telle if there are some settings in the program to change?When i am defining where the missiles should come from, it seems like the y and x axes are being mixed up

+ - !

(0)

imas4400

Dec. 14, 2008

Under rating threshold (show) until now everithing is working for me, im plannig to make a big game with this shotoorial

+ - !

(0)

Exort

Dec. 13, 2008

Under rating threshold (show) Nvm it is the mouse LOL

+ - !

(0)

Exort

Dec. 13, 2008

Under rating threshold (show) WHERE is the black selection pointer tool

+ - !

(0)

hanmonhoe2982

Dec. 12, 2008

Under rating threshold (show) HIIIII

+ - !

(0)

PewPewPewPewPew

Dec. 09, 2008

Under rating threshold (show) people here REALY help... (after about 6 hours of jumping through chat rooms looking for somebody that knew what to do, i had to delete CS4 and download/install CS3......)

+ - !

(0)

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