Comments for Shootorial #3

« Back to Shootorial #3

Terr002

Mar. 16, 2011

Under rating threshold (show) Everyone: If using CS5 and your missiles aren't appearing when you hit SPACE, open your library, right click your Missile, select Properties and then turn on 'Export in frame 1'. Please + this to keep this on top.

+ - !

(162)

benjabby

Jul. 18, 2010

Under rating threshold (show) i really dont get why people are insulting this thing. it is there best tutorial out there. mabye your game only sucks because you suck at flash. i have learned so much for this tutorial. and if your having problems. Figure it out yourself. the code here is correct. youve obvouosly done somthing wrong. thanx for the tutorial :)

+ - !

(172)

alphajuliet

Oct. 19, 2012

Under rating threshold (show) If you have an error it is most likely because you have misspelt a word or forgotten a ";". Keep saving your work before you test and make sure it is all in the same folder and correctly named!

+ - !

(7)

liamsteele

Mar. 22, 2010

Under rating threshold (show) -roughpath, make sure you have saved your scripts since editting them. -scaryfighter, you may have the _x value wrong in the this.removeMovieClip() loop. -juha686, might sound odd, but in the "missile._x = _x + 50" line, is your 50 a variable that changes during runtime rather than being a constant number? Olimar72, sounds like you have your Key.isDown(Key.SPACE) outside of the class. You have to make sure it is INSIDE the first and last curly brackets that hold the classes contents.

+ - !

(35)

Glugnar

Aug. 13, 2010

Under rating threshold (show) @aquspal it not a game at all so if u dont like this cause its not a game look at the front page instead of coming here and complaining its not a game when it has the word TUTORIAL in it......unless you dont know what that is...in wich case goto a doctor/therapist

+ - !

(43)

Personnel

Oct. 6, 2010

Under rating threshold (show) 5/5 great tut! (no srsly)

+ - !

(31)

partymaker

Aug. 31, 2010

Under rating threshold (show) I dont think this thing works with AS3. Look for Shootorial: ActionScript 3.0

+ - !

(10)

DarthVulrog

Mar. 26, 2011

Under rating threshold (show) Im using cs5 and am getting confused when they draw the missile. How do I get to the properties of the line I draw? That question may sound stupid to alot of you but ive never done this before and I just turned 13 a week ago. Thanks.

+ - !

(5)

ki1lr

Jan. 8, 2012

Under rating threshold (show) page 5 script. i almost fainted.

+ - !

(2)

ludovicus

Jun. 26, 2011

Under rating threshold (show) "There is no property with the name 'speed'." I get this error message when I put the "speed" variable in the onload function. I am using CS5

+ - !

(2)

ludovicus

Jun. 26, 2011

Under rating threshold (show) I made a cooler bullet :-)

+ - !

(2)

Cozythrias

Jun. 4, 2011

Under rating threshold (show) including the codes used here, makes the ship to have 'sticky keys' makes the ship movement rather not smooth

+ - !

(2)

Twizler09

May. 18, 2011

Under rating threshold (show) If your bullets fire but dont move make sure you saved your script in the same folder and you saved it before you test and its the EXACT same as the example

+ - !

(2)

moy99

Mar. 19, 2011

Under rating threshold (show) I have the same problem numbus.

+ - !

(2)

JakMasters

Mar. 16, 2011

Under rating threshold (show) for some reason when I press space the missile doesn't appear even close to the ship, it just appears at a random postion. I tried messing with the x/y coordinates, but that didn't affect it at all. help?

+ - !

(2)

Larcondos

Feb. 7, 2011

Under rating threshold (show) Make sure you guys spell "Missile" right. I spelled it with a missing "i" and was gettting an "Missile 'class' has to be relevant to another object named 'Missile'"

+ - !

(2)

Fultoa

Nov. 3, 2010

Under rating threshold (show) Ok, I have all the code right, and there are no compiler errors, but when I press space, nothing happens, any help on this?

+ - !

(2)

Sparticus117

Aug. 21, 2010

Under rating threshold (show) Would this still work with CS5? Cause I'm stuck on the missiles.

+ - !

(2)

juha686

Mar. 7, 2010

Under rating threshold (show) Everything works great but the missiles dont always come out of the nose, when i first fire they do but if u move upward, the missiles come between you and the starting point.

+ - !

(2)

Mattistrees

Dec. 2, 2010

Under rating threshold (show) I have a question, how do you script so the ship doesn't leave the boundaries? I know a tiny bit of C++ so i was thinking some kind of if loop like if(_x=0) {velocity == 0}. Im a little rusty on the syntax but I was wondering if anybody new the actionscript for something like that.

+ - !

(4)

legorlan

Oct. 6, 2010

Under rating threshold (show) Guys... don't attack the tutorial... it's a brilliant resource and saves many hours work learning the basics of flash, oh and @Nathaniel100 yes it does, because that program uses as2.0... kthxbai

+ - !

(4)

Alexandar_1998

Jun. 22, 2010

Under rating threshold (show) My missile have no speed xD I mean they don't move !

+ - !

(8)

zeth415

Oct. 14, 2011

Under rating threshold (show) SHEEPNESS probably you already figured out, nut you must put "if" statements inside "on" events, such as "onEnterFrame", otherwise it won't work... bothered me for almost 15 min as well...

+ - !

(3)

Derek3803

Oct. 11, 2011

Under rating threshold (show) Didnt work for about 30 minutes because i had an extra }

+ - !

(3)

Tuver4

Mar. 27, 2011

Under rating threshold (show) I'm only having one problem, I got the missile shooting from the right place but they don't move right, other that this tutorial is brilliant, of course it's not the tutorials fault it's mine.

+ - !

(3)

numbus

Mar. 13, 2011

Under rating threshold (show) When my missiles didn't go and just stayed in place, I must've wasted 30 minutes drawing different shapes out of missiles.

+ - !

(3)

NotBobRamen

Nov. 10, 2010

Under rating threshold (show) Actionscript 3 is 900 times harder to make games with because there is not as much functionality with movie clips, that is why it is in actionscript 2

+ - !

(3)

Nibri

Oct. 13, 2010

Under rating threshold (show) I keep getting this error. D:\Documents and Settings\Owner\My Documents\Flash\Tutorials\Missle.as, Line 1 The class 'Missile' needs to be defined in a file whose relative path is 'Missile.as'. I've copied and pasted the code directly from the tutorial. It should be working. I'm only on step 4 or 5 and I'm getting this error. Pressing Space will not shoot missles at all. Help?

+ - !

(3)

kirby5620302823

Mar. 31, 2016

Under rating threshold (show) my ship's png file still has a white background can someone help with making it transparent?

+ - !

(1)

Stalthdan

Jun. 30, 2013

Under rating threshold (show) @powerownage just continue with the tutorial, your issue is addressed in a later page. @Jonthebloxer go to the library, double click the 'Ship' icon, delete the sprite and draw/insert whatever you want instead.

+ - !

(1)

Dracado

May. 17, 2010

Under rating threshold (show) **Error** Symbol=Missile, layer=Layer 1, frame=1, Line 1: The class or interface 'Missile' could not be loaded. Help!!

+ - !

(3)

rokstaleon

Jul. 10, 2012

Under rating threshold (show) my missiles arent moving towards the right of the screen

+ - !

(1)

Schreib

Mar. 10, 2012

Under rating threshold (show) I just have one quick question, I'm just trying to understand what += means. Great tutorial btw

+ - !

(1)

Bommetje23

Feb. 24, 2012

Under rating threshold (show) @shaggypig9 I had that problem first too, but I solved it, just try and change the X and Y numbers (page 7 on the tutorial). I changed it to X + 78 and Y + 22: if( Key.isDown(Key.SPACE) ) { var missile = _root.attachMovie( "Missile" , "Missile" + _root.getNextHighestDepth() , _root.getNextHighestDepth() ); missile._x = _x + 78; missile._y = _y + 22; } Hope this helps

+ - !

(1)

siaraj

Feb. 21, 2014

Under rating threshold (show) soooooooogood

+ - !

(1)

akiko01

Oct. 26, 2011

Under rating threshold (show) This code looks complex, but its not. Really, its not. Hopefully i am not the only person who laughed a little bit at that part on page 5.

+ - !

(2)

benoz11

Oct. 15, 2011

Under rating threshold (show) Simple syntax mistakes like an extra } or a mis-spelt command can be found if you go to "tools" then "Check syntax". Great tutorial.

+ - !

(2)

Derek3803

Oct. 10, 2011

Under rating threshold (show) To put in the white line you must add a new layer for the missle.

+ - !

(2)

Beastsummoner

Oct. 6, 2011

Under rating threshold (show) Nice tutorial, learned from it :)

+ - !

(1)

oatlol

Jul. 13, 2011

Under rating threshold (show) Too me this is the best gaming tutorial ever

+ - !

(1)

kryellzz

Jul. 2, 2011

Under rating threshold (show) why my bullet doesn't want to walk the scene? :(

+ - !

(1)

superfer

Jun. 13, 2011

Under rating threshold (show) Some codes dont't work for me so I made some new codes :D

+ - !

(2)

147258369chicke

May. 21, 2011

Under rating threshold (show) I have two problems. 1. The bullets spawn on the roof of my ship. 2. I can't move in the left-downwards direction while firing. If anyone knows what's wrong, please help. Thanks.

+ - !

(2)

Ellpo

May. 3, 2011

Under rating threshold (show) Ah, solved it! Could possibly be the same problem as other people have. Looked like: if( Key.isDown(Key.SPACE && shootlimit > 8) ) Should look like: if( Key.isDown(Key.SPACE) && shootlimit > 8 )

+ - !

(1)

Ellpo

May. 3, 2011

Under rating threshold (show) When I'm doing the shootLimiter is messes things up. I can no longer shoot by pressing space. But the ship will fire correctly if I press mouse button (?) I did som testing and it works without "&& shootLimit > 8" in the if-section of the space button.

+ - !

(1)

Tuver4

Mar. 27, 2011

Under rating threshold (show) Never mind, just a linkage problem! Amazing Tutorial!

+ - !

(1)

kitten_cat95

Mar. 22, 2011

Under rating threshold (show) Ive had no errors with the game yet, Thank You So Much.

+ - !

(1)

MeekalMykee

Mar. 19, 2011

Under rating threshold (show) If you have the shootLimiter set up like this, doesn't it take up a good deal of processor speed by continuously counting? Is there something better that can add a timer while you hold down the space bar before the next fire can be shot or something? I am sure I have played some games that have tried this and you can just hit space bar over and over and it shoots faster then holding, but anyone know how to do this a better way?

+ - !

(1)

numbus

Mar. 13, 2011

Under rating threshold (show) Ins0mniuS: I THINK I had the same problem as you. For me (CS5) Each different tab (ex. Ship, Background, Missile) is saved at different times. So if it says "Ship*" or "Background*" it means you haven't saved that tab. Just save each one individually and HOPEFULLY.... Voila!

+ - !

(1)

almyr

Feb. 26, 2011

Under rating threshold (show) Looks great, but seem to be for AS2. Isn't it ? (_root.attachMovie, this.removeMovieClip etc...). How about doing an AS3 tuto ?

+ - !

(1)

  • add a comment