Games Achievements My Kong Sign In

Comments for Shootorial #5

« Back to Shootorial #5

Olimar72

Oct. 13, 2010

Under rating threshold (show) Ok my ship is killing the enemy ships, but now my missiles will only kill some of the ships... Roughly 1 in every 6 enemy ships will be hit by my bullet. The rest wont...

+ - !

(0)

Angloki

Oct. 13, 2010

Under rating threshold (show) To anyone concerned about collision detection - be careful with naming and targetting correctly. You may use targetPath ( http://help.adobe.com/en_US/AS2LCR/Flash_10.0/help.html?content=00001827.html ). I've had similar problem.

+ - !

(0)

jimjimmy1995

Sep. 25, 2010

Under rating threshold (show) Yay fixed it!!! dunno wot i did

+ - !

(0)

juggalokid98

Sep. 10, 2010

Under rating threshold (show) my only prob is collision, I tried over and over again but it's not working... damn thing

+ - !

(0)

Supersnail200

Aug. 31, 2010

Under rating threshold (show) Um..BBvn...this is comments, they are for comments on the game.

+ - !

(0)

doyoulikewaffles

Aug. 18, 2010

Under rating threshold (show) I just noticed that when you change the EnemyShip code to for the EnemyMissile, the code changes the y that the enemy appears from back to: *300, when you have changed it to *200 + 50 in a previous Shootorial. Hope this helps someone.

+ - !

(0)

sethia003

Aug. 12, 2010

Under rating threshold (show) generalcommando- you might want to see how big the box around the ship is since the aliens only have to hit that box

+ - !

(0)

gofish

Apr. 08, 2010

Under rating threshold (show) wait, it was just because I called it Ship not ship and Im guessing I cant call it the same as my as file name

+ - !

(-1)

Growing_Hand

Aug. 29, 2012

Under rating threshold (show) Vind777 made a very useful comment, i tried ages to figure out, that it is only working with a different instant name.

+ - !

(0)

CARL_JHONSON

Oct. 27, 2010

Under rating threshold (show) WHAT THE HELL IS THIS

+ - !

(-1)

tsunimo

Oct. 12, 2010

Under rating threshold (show) i dont get it... my code it perfect but they arnt dissapearing when i run into or shoot them... they just fly over me

+ - !

(-1)

mustard876

Oct. 08, 2010

Under rating threshold (show) When i did: if(this.hitTest(_root.ship)) { explode(); } the enemy ships wouldnt disappear when i crashed into them. If you are having the same problem, try writing this command instead: if(this.hitTest(_root.ship)) { this.removeMovieClip(); } It worked for me. Using the above command, the part where you create the function "explode()" won't be needed.

+ - !

(-1)

Coopasetic

Jul. 31, 2012

Under rating threshold (show) If your explosion animation is looping, and you can't figure out what's wrong, make sure your Explosion.as file is saved in the same folder as your main flash file.

+ - !

(0)

akiko01

Oct. 26, 2011

Under rating threshold (show) If i am reading the first page correctly....... this should be the apex of the Tutorial process, i'm very happy to have made it this far, just 5 hours ago i would have looked at these codes and went "WTF!?!?!", thank you Kongregate for your easy tutorials and helping out us new people who want to take a hand at game developing.

+ - !

(0)

crow1234

Jul. 14, 2011

Under rating threshold (show) Omg enemy missiles stand in the air!

+ - !

(0)

Relondo

Jul. 13, 2011

Under rating threshold (show) Nevermind, I fixed my own problem. I accidentally duplicated part of the enemy ship launching code.

+ - !

(0)

Relondo

Jul. 12, 2011

Under rating threshold (show) I need some help. When I added the Array, it doubled the number of enemies that spawned. I didn't worry about it at the time, but now I've added Hero Missiles and exactly half of the enemy ships can be destroyed by missiles; the other half just keep going. However, they can all be destroyed if I ram into them. The only thing I can think of would be that somehow the second half of the ships are not in the same array as the first. Please help.

+ - !

(0)

lego_pi

Jul. 10, 2011

Under rating threshold (show) Does "hitTest()" return "True" if transparent bits from one png image hit transparent pixels on another? I mean, if the bounding boxes touch, but not their colored pixels. Does that make any sense?

+ - !

(0)

GenitalFace

Dec. 19, 2010

Under rating threshold (show) oh was because i had a capital

+ - !

(0)

GenitalFace

Dec. 19, 2010

Under rating threshold (show) when i give the ship an instance name everthing stops working. Can anyone help?

+ - !

(0)

DowntownVL

Oct. 10, 2010

Under rating threshold (show) I lol'd, when every programming was done, i tested the movie. What happend? The enemies came flying normal, but then they shot a missile and they suddenly exploded. There was also a white missile of mine in front of them, even if i hadn't shot any missiles.

+ - !

(0)

GoldenHaze

Oct. 03, 2010

Under rating threshold (show) can't seem to get the sound effects

+ - !

(0)

kfunkapotamus

Sep. 24, 2010

Under rating threshold (show) I'm stuck on page 10 :-\ my missiles fly right through the enemies, the missile hitTest doesn't seem to be doing it's job. any suggestions?

+ - !

(0)

Gantar180

Sep. 18, 2010

Under rating threshold (show) I followed everything exactly the way the tutorials said, all of the way up to the health bars and the scores, but after adding those then every time I destroy an enemy ship then it destroys all of them on the screen... Its so annoying and I have back tracked to check the codes and everything is exactly the way it should be... Does anyone know how to fix this?

+ - !

(0)

iHugh

Aug. 23, 2010

Under rating threshold (show) Step 4. I can't get the enemies to dissapear. I have EXACTLY the same code!

+ - !

(0)

Roflcopter_Yoshi

Aug. 20, 2010

Under rating threshold (show) Still stuck on trying to make the hero's ship missiles to hit and explode the enemies, i check all the coding and i see no mistakes any help? i using cs5

+ - !

(0)

GameMasterGuy

Aug. 07, 2010

Under rating threshold (show) What's wrong with the missiles? They aren't blowing up the enemies!

+ - !

(0)

lampy85

Aug. 04, 2010

Under rating threshold (show) i have the same problem as fuddy30, my missiles just goes right though the enemies. any help?

+ - !

(0)

DocDeath

Jul. 17, 2010

Under rating threshold (show) Everything is working fine, except my Enemy Missiles aren't firing across the scene. They appear, then stop. Nothing else. Help?

+ - !

(0)

jrvboffin

Jul. 08, 2010

Under rating threshold (show) it would appear that (judging by others comments) that anyone using macromedia flash 8 cannot load up the source files once downloaded. could anyone post it so that those with macromedia can carry on with this tutorial. it's a bit annoying that after getting this far i'm being held back by software... thanks

+ - !

(0)

flubydog24

Jul. 04, 2010

Under rating threshold (show) nm i had a space in front of it

+ - !

(0)

AlmightyGERM

Jun. 08, 2010

Under rating threshold (show) Alright I need help if anyone can assist... I cannot get my function explode() to attach to this.removeMovieClip If I replace "{explode();}" with "{this.removeMovieClip}" it functions properly and removes enemy ship on impact of ship but with explode they just pass right through each other and no impact collision... So.. what am I doing wrong?

+ - !

(0)

WeirdAlcoholic

May. 21, 2010

Under rating threshold (show) Ok I have another problem. I just finished page 14 and I went to test it and an error popped up: WARNING: The Export Frame for Classes specified in the Publish or Export settings, frame 5, does not exist. No bytecode for ActionScript 2.0 classes or interfaces was exported. If it means anything I'm currently using Flash CS5, not CS3.

+ - !

(2)

WeirdAlcoholic

May. 21, 2010

Under rating threshold (show) When i go to the link and download the files, the explosion clip doesn't appear, just the explosion.as. What's wrong =(

+ - !

(0)

Blakelyneal

May. 14, 2010

Under rating threshold (show) Okay for the last three days I have tried to figure out what is wrong with my missiles... I cannot get them to make enemy ship explode they just go through them... =/ driving me crazy

+ - !

(0)

falaki

May. 14, 2010

Under rating threshold (show) I GET THESE ERRORS i saved every thing resolved other errors but these C:\Users\Fawaz.FAWAZ-HUSSAIN-P\adobe cc5\Shootorial\Ships.as, Line 48 There is no property with the name 'enemy'. C:\Users\Fawaz.FAWAZ-HUSSAIN-P\adobe cc5\Shootorial\Ships.as, Line 48 There is no property with the name 'enemy'.

+ - !

(0)

Tukkun

May. 10, 2010

Under rating threshold (show) Works perfectly, but this can cause memory leak if you shoot too much.

+ - !

(0)

teoisgood

Apr. 27, 2010

Under rating threshold (show) nvm, problem solved... forgot something to add at the explosion's proprieties... sorry for triple post!

+ - !

(0)

teoisgood

Apr. 27, 2010

Under rating threshold (show) i have a problem please help! when i shoot and hit ,or colision, the explosion works, but it loops (plays continous). how should i fix this??

+ - !

(0)

parrotman555

Dec. 04, 2008

Under rating threshold (show) i would like to reccomend that everyone mute jdafrog for making a ur mom joke.

+ - !

(0)

mufenz20

Aug. 27, 2017

Under rating threshold (show) well done

+ - !

(0)

nighttb

Nov. 02, 2013

Under rating threshold (show) Thank you Coopasetic!! If your explosion animation is looping, and you can't figure out what's wrong, make sure your Explosion.as file is saved in the same folder as your main flash file.

+ - !

(0)

Starken

Nov. 01, 2013

Under rating threshold (show) Got same problem alean200, the missiles i shot is not doing anything, i can collide on them and they die.

+ - !

(0)

Stalthdan

Jul. 30, 2013

Under rating threshold (show) @Natthone maybe you're doing something wrong. You'll have to provide a little extra detail for me to be able to help you though.

+ - !

(0)

Stalthdan

Jul. 02, 2013

Under rating threshold (show) @gortholomew make sure you did everything right, and pay extra attention to the pages 8, 9 and 10. If the problem still persists, send me a pm with your ship, enemy ship and missile code.

+ - !

(0)

gortholomew

Jun. 25, 2013

Under rating threshold (show) i did everything right until page 14. the enemies arent exploding when they get hit by missiles. i went back and rechecked everything but i cant find what i missed.

+ - !

(0)

Frostyfun

Jan. 13, 2013

Under rating threshold (show) Hey everyone! If anyone here wants to convert AS2 code to AS3 I set up a quick guide on how to do it. This uses old code that you wont want in newer projects but the site I set up will explain how to use it! http://codingflashfast.webs.com/ !!!

+ - !

(0)

jheis

Nov. 09, 2012

Under rating threshold (show) Can anyone help me? My hitTest doesnt work I've been trying for 2 days. It looks like this: onClipEvent(enterFrame) { if (this.hitTest(_root.instancename)) { this.removeMovieClip(); } } can't see why it doesn't work. Help would be greatly appreciated.

+ - !

(0)

eronar

Nov. 02, 2012

Under rating threshold (show) Download links is the Action Script Shootorial seems to work, use those files if you need them: http://www.kongregate.com/games/Moly/shootorial-1-actionscript-3

+ - !

(0)

bitterlove

Oct. 31, 2012

Under rating threshold (show) ****PROBLEM SOLVED**** If your missile is killing enemies without hitting it as soon as it gets fired, check in the "Missile.as" file, find the "onEnterFrame()" function, and take a look at the "if" condition inside the "for...in" loop; at the end of the condition declaration there shouldn't be any ";". Example: THIS IS WRONG if (this.hitTest( _root.hero.enemies[i] )) // NO ";" IN THE END { //SOME CODE }

+ - !

(0)

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