Games Achievements My Kong Sign In

Comments for Shootorial #3

« Back to Shootorial #3

cucmucy

Jan. 31, 2011

Under rating threshold (show) help i need help it wont load my missile.

+ - !

(0)

WhiteGringo

Jan. 13, 2011

Under rating threshold (show) For everyone who hasn't realized it yet, onEnterFrame() is when you enter every single frame from the first frame till the end of your game. I didn't catch on till just now, but if you realize this, you can add a bunch of sections to your game. Examples would be a timer, position checker, etc.... Hope you guys have as much fun with this as I did!

+ - !

(0)

jako3047

Nov. 28, 2010

Under rating threshold (show) Wow, sure makes a mess when you accidentally declare "shootLimiter" in the missile script. A very nice tutorial indeed, as it shows the basics needed for experimenting. Too bad with the flash trial being 30 days only.

+ - !

(0)

Karuari

Oct. 15, 2010

Under rating threshold (show) My missiles do come out from the tip of my ship but they wont move and my missile class coding is exactly the same as in the picture, what am i doing wrong??? Help me!

+ - !

(0)

rosslyn568

Sep. 23, 2010

Under rating threshold (show) check out my shooturial inspired game at http://www.kongregate.com/games/rosslyn568/planet-defender

+ - !

(0)

Faeh

Aug. 25, 2010

Under rating threshold (show) Trying to find the background tutorial. it doesn't exist.

+ - !

(0)

Dracado

Jul. 16, 2010

Under rating threshold (show) Nah, I just fixed the "Missile could not be located" issue with a lot easier way. Turns out in the previous Shootorial it says "Make sure ALL of your files are saved in the same folder." I saved them in different ones, causing an error. I fixed it! :D

+ - !

(0)

burgmeister

Jul. 09, 2010

Under rating threshold (show) i'm having a strange problem, all my code is correct but instead of missles shooting when i press space, they shoot when i left click! WTH is going on?!? my ship code: class Ship extends MovieClip { var velocity; var shootLimiter; function onLoad() { velocity = 10; shootLimiter = 0; } function onEnterFrame() { if(Key.isDown(Key.RIGHT)) { _x = _x + velocity; } if(Key.isDown(Key.UP)) { _y = _y - velocity; } if(Key.isDown(Key.LEFT)) { _x = _x - velocity; } if(Key.isDown(Key.DOWN)) { _y = _y + velocity; } if(Key.isDown(Key.SPACE && shootLimiter > 8)) { shootLimiter = 0; var missle = _root.attachMovie("Missle", "Missle" + _root.getNextHighestDepth(), _root.getNextHighestDepth()); missle._x = _x+37; missle._y = _y+3; } shootLimiter += 1; } }

+ - !

(0)

marx4400

Jun. 04, 2010

Under rating threshold (show) it says "there is no method with the name "root"

+ - !

(0)

limeyman012

Mar. 30, 2010

Under rating threshold (show) This statement is not permitted in a class definition. I get this when I type in if( Key.isDown(Key.SPACE) ) What can I do?

+ - !

(0)

Noah0Nichols2

Sep. 30, 2021

Under rating threshold (show) note that that was 2 years ago

+ - !

(0)

eskivor

Sep. 24, 2013

Under rating threshold (show) "missile._x = _x;" is it actionscript 2.0 ?

+ - !

(0)

grieshaber

Aug. 09, 2013

Under rating threshold (show) Huge problem with capitalization and my file names so im leaving everything lowercase which is working well.

+ - !

(0)

Jonthebloxer

May. 26, 2013

Under rating threshold (show) does anyone know how i can swap out the space ship for a different sprite, I want to change it

+ - !

(0)

kaedeb

May. 02, 2013

Under rating threshold (show) My Goodness! Ok after the 100's of comments i read about missiles staying still, i was about to quit, but then, i deleted everything and started from the begining of #3 and it works!

+ - !

(0)

powerownage

Apr. 28, 2013

Under rating threshold (show) can someone help? My missles are only shooting at the top part of the screen

+ - !

(0)

yungteezytn

Aug. 10, 2012

Under rating threshold (show) Nevermind, spoke too soon. I forgot an s in my code v.v derp.

+ - !

(0)

yungteezytn

Aug. 10, 2012

Under rating threshold (show) I'm stuck on page 9. For some reason, everything works fine when I exclude "missile._x =_x + 50; missile._y = _y + 2;", but when I include that portion of the code, my character won't move and my missiles won't fire.

+ - !

(0)

littletode

Jun. 13, 2012

Under rating threshold (show) sucks i am on ubuntu and it takes forever to load.

+ - !

(0)

Ponchop

Mar. 19, 2012

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

+ - !

(0)

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)

Peragin

Mar. 07, 2012

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

+ - !

(0)

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)

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)

TheElect2049

Jan. 10, 2012

Under rating threshold (show) This tutorial PWNS XD

+ - !

(0)

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)

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)

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)

spinzter

Jul. 10, 2011

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

+ - !

(0)

lego_pi

Jul. 09, 2011

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

+ - !

(0)

lego_pi

Jul. 09, 2011

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

+ - !

(0)

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)

Jawburger

Jul. 03, 2011

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

+ - !

(0)

hexaiktosz

Jun. 12, 2011

Under rating threshold (show) xy

+ - !

(0)

mi4c

Apr. 25, 2011

Under rating threshold (show) agreed with benjabby can't believe i've made it this far lol

+ - !

(0)

hunterswapras

Apr. 12, 2011

Under rating threshold (show) i had posted up a problem i'm facing with missiles, i need help. i'm seeing white copies of the missile i launch, above me and they are even damaging the enemy ships, please guys, i just need to fix this

+ - !

(0)

hunterswapras

Apr. 11, 2011

Under rating threshold (show) i'm going good with this, but while testing the enemy ships, i saw a very odd thing. when i'm firing missiles, i see blank white copies of them moving just above me as i move the ship down

+ - !

(0)

Cellol

Apr. 06, 2011

Under rating threshold (show) i have the same problem as olimar, help!!

+ - !

(0)

DarthVulrog

Mar. 26, 2011

Under rating threshold (show) Alright well i got the missile to shoot but it just like spamms it from the tope left corner of my ship? What did I do wrong?

+ - !

(0)

SinSippo

Feb. 23, 2011

Under rating threshold (show) funny how all shootorials are rated 4.05.. people actually do it (Now for once i tried it and it is pretty easy since i'm a developer(other account which is banned until TOMORROW :D :D ))

+ - !

(0)

Ins0mniuS

Feb. 23, 2011

Under rating threshold (show) My bullet doesn't shoot out when I press space, I'm sure I've done everything right though! :<

+ - !

(0)

yhnqazwsx

Feb. 19, 2011

Under rating threshold (show) OMG i typed Missle for my save as, not Missile :(

+ - !

(0)

DFL0505

Feb. 08, 2011

Under rating threshold (show) help i cant make my missiles to shoot from my ship it keeps coming from the top left!!

+ - !

(0)

calumpalumpa

Nov. 13, 2010

Under rating threshold (show) mine says there is no method with the name 'root'

+ - !

(0)

hastingsfc12

Oct. 27, 2010

Under rating threshold (show) ok i spelt shootLimiter wrong now i need to sort out the 30 a sec thingy

+ - !

(0)

hastingsfc12

Oct. 27, 2010

Under rating threshold (show) kk same prob as Kauari now :D

+ - !

(0)

hastingsfc12

Oct. 27, 2010

Under rating threshold (show) please help i have made the missile etc blah blah blah done all the coding but when i test it and press space nothing happens please help

+ - !

(0)

12sea21

Aug. 24, 2010

Under rating threshold (show) Important Note!: The higher your "shootLimiter > x" 'x' is, the slower the bullets will be released (the more frames it will have between each bullets).

+ - !

(0)

12sea21

Aug. 23, 2010

Under rating threshold (show) you cant shoot when moving diagonally (Down, left right and up left)

+ - !

(0)

Dyrilo

Aug. 21, 2010

Under rating threshold (show) ok, not what i looked for, but i hope i can use the code to experiment and play around. Right now im mixing frameactons and movie clips. i hope this works

+ - !

(0)

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