Comments for Shootorial #3

avatar for KenneyF
KenneyF

Jun. 01, 2012

Under rating threshold (show) I Have a huge problem. My flash thinks that 1 is way offscreen.. so instead of removing the missiles at _x 700 I have to type 1400. That fixes my problem here, but in the next tutorial when in generates the enemys I can't keep the enemys on stage with this code.. _y = Math.random()*400 + 50; Any ideas why this happens?

+ - !

(0)

avatar for Ponchop
Ponchop

Mar. 19, 2012

Under rating threshold (show) Never mind, I spoke too soon. Fixed it

+ - !

(0)

avatar for Ponchop
Ponchop

Mar. 19, 2012

Under rating threshold (show) I'm having issues when creating the missiles. They're appearing fine, but when they appear from the ship, they still appear at the top left corner as well. Can anybody help?

+ - !

(0)

avatar for Schreib
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)

avatar for Peragin
Peragin

Mar. 07, 2012

Under rating threshold (show) Lol I think I had more fun making this than playing Kongregate games.

+ - !

(0)

avatar for KnownPlayer
KnownPlayer

Mar. 05, 2012

Under rating threshold (show) I'm having a really hard time creating the missile in CS5.5, The sizes seem really different and everything is different than the tutorial. Can anyone help me please?

+ - !

(0)

avatar for Bommetje23
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)

avatar for shaggypig9
shaggypig9

Feb. 22, 2012

Under rating threshold (show) Can anyone help me? I've tried many times but for some reason the missile always is above the ship PS I'm using cs5.5 pro

+ - !

(1)

avatar for RobinN1
RobinN1

Jan. 19, 2012

Under rating threshold (show) every slide i read, there will always be a question in my mind(missile shooting so fast, missile coming from the body of spaceship instead of cockpit). then after several slides, the question will be answered. great guide.

+ - !

(0)

avatar for TheElect2049
TheElect2049

Jan. 10, 2012

Under rating threshold (show) This tutorial PWNS XD

+ - !

(0)

avatar for ki1lr
ki1lr

Jan. 08, 2012

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

+ - !

(2)

avatar for jrtibayan
jrtibayan

Nov. 19, 2011

Under rating threshold (show) nvm i found out what went wrong.. kinda misplaced the code.. should be on the ships class not missile. :)

+ - !

(0)

avatar for jrtibayan
jrtibayan

Nov. 19, 2011

Under rating threshold (show) im using Adobe Flash CS5.5 Pro i cant seem to make the missiles appear and disappear since i cant make them appear i tried drag the missile movieclip to the stage and edited its onEnterFrame code particularly the condition when spacebar is pressed just to see if the condition is working i set the speed to 0 if the spacebar is pressed so when i press the spacebar the missile should stop and it did.. so i think the problem is somehow the function that attachmovie and removemovieclip is not firing.. is it because im using a CS5.5?

+ - !

(1)

avatar for VMDC
VMDC

Nov. 06, 2011

Under rating threshold (show) hmm... anyone notices there is no 3) on the second page?

+ - !

(-1)

avatar for japh42
japh42

Oct. 26, 2011

Under rating threshold (show) Thanks @Derek3803, but I still can't. Have both layers in the same order as on the screen example. I can select it, select the color and line tool but can't draw. It's probably something dumb that I just don't know. Had a step drive me crazy cause it was missing the instruction to select the .fla before trying "Insert>" since it only appears when the .fla is selected.

+ - !

(0)

avatar for akiko01
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)

avatar for benoz11
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)

avatar for zeth415
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)

avatar for Derek3803
Derek3803

Oct. 11, 2011

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

+ - !

(3)

avatar for Derek3803
Derek3803

Oct. 10, 2011

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

+ - !

(2)

avatar for sheepness
sheepness

Oct. 07, 2011

Under rating threshold (show) on the line with if( Key.isDown(Key.SPACE) ) it says "This statement is not permitted in a class definition." .. can someone help me here?

+ - !

(0)

avatar for Beastsummoner
Beastsummoner

Oct. 06, 2011

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

+ - !

(1)

avatar for japh42
japh42

Oct. 03, 2011

Under rating threshold (show) I cannot get this to let me draw the white line. I draw it and as soon as I let go of the mouse button it disappears. Any suggestions? I am doing this with Flash CS3 which I found at the following link, with a 30 day trial period. http://lfiles3.brothersoft.com/dvd_video/flash_tools/ADBEFLPRCS3_WWE.exe

+ - !

(0)

avatar for bluefire732
bluefire732

Sep. 24, 2011

Under rating threshold (show) There's more plays on this tutorial than the last one... are people just jumping in in the middle?

+ - !

(0)

avatar for C3WhiteRose
C3WhiteRose

Sep. 20, 2011

Under rating threshold (show) Please someone show me this: I want each time I press "F" key,the hero ship only shoots one bullet,and I press and press again to let him shoots faster :( How can I do that?

+ - !

(0)

avatar for spivee
spivee

Sep. 17, 2011

Under rating threshold (show) I find a slightly better effect out of the missiles by having an acceleration, I set speed to 0 instead of 10, then did this when moving the missiles: _x += speed; speed += 1; // try changing the speed that speed increases for a different effect.

+ - !

(-1)

avatar for supergeno
supergeno

Sep. 04, 2011

Under rating threshold (show) hey my ship class codes are exactly the same as it shows it should and they should fire from the nose of my ship, but they are firing from the bottom left of the screen! I have looked over it a ton of times but nothing works! what do i do? im using CS5.5

+ - !

(0)

avatar for supergeno
supergeno

Sep. 03, 2011

Under rating threshold (show) umm my ship class looks exactly like it shows but it fires them like crazy if I move and hold space so its dragging missiles AND they are appearing at the bottom left! what do i do?

+ - !

(0)

avatar for scronk
scronk

Aug. 27, 2011

Under rating threshold (show) nevermind - it was my background = dur. i attached my ship and missiles to the same layer as my background, like a fool.

+ - !

(0)

avatar for scronk
scronk

Aug. 27, 2011

Under rating threshold (show) my missiles move with the background. in other words, I have them firing out of the ship where I want, they move at the rate I want, but if I hold the space bar down their point of origin moves further and further away. If I move the ship back and fire, the missiles will appear far in front of the ship. HELP!

+ - !

(0)

avatar for Froz3narr0w
Froz3narr0w

Jul. 21, 2011

Under rating threshold (show) @Froz3narr0w Nevermind, i just misplaced a bracket

+ - !

(0)

avatar for Froz3narr0w
Froz3narr0w

Jul. 21, 2011

Under rating threshold (show) I'm having a problem at the moment, and that is the ship only fires missiles when it is moving down.

+ - !

(0)

avatar for davidmarak
davidmarak

Jul. 18, 2011

Under rating threshold (show) I cannot get the missile to spawn. If I change the linkage identifier and instance name to "ship" I can fire a ship out of my ship, but when it is set to "missile", there is no missile. The properties for the missile are set to 'Export in Frame 1' and if I add a missile manually to the scene, it shows up when I test the movie, and it moves across the screen properly. In the library object the missile shows up as a movie. I am not getting any syntax errors on any .as programs. Any ideas?

+ - !

(0)

avatar for Jawburger
Jawburger

Jul. 16, 2011

Under rating threshold (show) okay, i have my missile working relatively and i am now trying to make things constantly fly out of the back of my ship. Nyanship is my ship's symbol name. The Mexicanflag class is the same as the missile except speed = -20; if( symbol NYANShip is on stage ) { var Mexicanflag = _root.attachMovie( "Mexicanflag" , "Mexicanflag" + _root.getNextHighestDepth() , _root.getNextHighestDepth() ); Mexicanflag._x = _x - 100; Mexicanflag._y = _y - 2; } Would this work?

+ - !

(0)

avatar for oatlol
oatlol

Jul. 13, 2011

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

+ - !

(1)

avatar for spinzter
spinzter

Jul. 10, 2011

Under rating threshold (show) kryellzz i have the exact same problem. please haelp

+ - !

(0)

avatar for lego_pi
lego_pi

Jul. 09, 2011

Under rating threshold (show) And that you didn't put that code in a function?

+ - !

(0)

avatar for lego_pi
lego_pi

Jul. 09, 2011

Under rating threshold (show) @ludovicus: Are you sure that you put in "var speed;" at the beginning?

+ - !

(0)

avatar for Jawburger
Jawburger

Jul. 03, 2011

Under rating threshold (show) Wow, just noticed, in page 2, the instructions go #1 #2 #4 then #5 XD no #3?

+ - !

(0)

avatar for Jawburger
Jawburger

Jul. 03, 2011

Under rating threshold (show) @ludovicus, try putting in Speed with the capitals like this "Speed"

+ - !

(0)

avatar for kryellzz
kryellzz

Jul. 02, 2011

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

+ - !

(1)

avatar for ludovicus
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)

avatar for ludovicus
ludovicus

Jun. 26, 2011

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

+ - !

(1)

avatar for superfer
superfer

Jun. 13, 2011

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

+ - !

(2)

avatar for t15h6f
t15h6f

Jun. 13, 2011

Under rating threshold (show)

+ - !

(-4)

avatar for hexaiktosz
hexaiktosz

Jun. 12, 2011

Under rating threshold (show) xy

+ - !

(0)

avatar for Cozythrias
Cozythrias

Jun. 04, 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)

avatar for 147258369chicke
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)

avatar for Twizler09
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)

avatar for me_maikey
me_maikey

May. 15, 2011

Under rating threshold (show) (I use adobe CS4, could be different) If your missile wont move, but will spawn, go to game.fla and library. Rightclick misslie and then properties. In there check the identifier and class, you probably need a capital letter or a non-capital letter (opposite of what you got now).

+ - !

(0)

  • add a comment