Games Achievements My Kong Sign In

Comments for Shootorial #5

« Back to Shootorial #5

zeth415

Oct. 15, 2011

Under rating threshold (show) Hi guys. When I try to use ._currentFrame and ._totalFrames there is an error that reads: "there is no property with this name". Help plz

+ - !

(0)

dkill2324

Oct. 12, 2011

Under rating threshold (show)

+ - !

(-5)

ZaGunny

Oct. 12, 2011

Under rating threshold (show) can someone tell me how to insert the explosion in cs5.5? cause when i try to open the Fla file it says "Unexpected file format"

+ - !

(2)

thejabberw0cky

Oct. 06, 2011

Under rating threshold (show) This tutorial series is so valuable!

+ - !

(1)

BoredomDeleted

Sep. 24, 2011

Under rating threshold (show) If you're having trouble with the link, right click on it and open in new window.

+ - !

(2)

bluefire732

Sep. 24, 2011

Under rating threshold (show) When I play what I've got now, I feel invincible! :P

+ - !

(1)

Undone

Sep. 23, 2011

Under rating threshold (show)

+ - !

(-3)

PlayerPimp

Sep. 22, 2011

Under rating threshold (show) I love how it says or better yet draw your own animation with no instructions whatsoever on how to do it

+ - !

(1)

TheHugLife

Aug. 25, 2011

Under rating threshold (show) I have searched through my code a million times, and cant find any reason why my explosion animation loops constantly when I destroy an enemy. I even tried importing the kongregate explosion file + code, to no effect, so the problem obviously doesnt lie with explosion.as file. PLEASE help, its the only major problem Ive encountered so far and am unable to figure this one out on my own, ive been stuck on it for two days!

+ - !

(2)

sol_rox

Aug. 19, 2011

Under rating threshold (show) nvm i got it

+ - !

(-2)

sol_rox

Aug. 19, 2011

Under rating threshold (show) can sum 1 tell me where the explosion is i dwn loaded the file but i cant find it

+ - !

(-2)

SlayerOfPersians

Aug. 14, 2011

Under rating threshold (show) Everyone who can only shoot half their enemy ships, listen up: You're not putting all the enemy ships in the enemy array. Many of us weren't careful when we copied and pasted the Shootorial code into the onEnter function, so now we have two independent ship launching codes. Basically, if you forget to delete a certain bit of code, half of the new enemy ships are not pushed into the array and so aren't affected by missiles. To correct this, look at the source ship.as and compare it to your code under the onEnter function, specifically the part that reads "if (enemyTimer..." I deleted a line from my ship.as to match the source, and it works without a hitch now!

+ - !

(5)

Gloogloos

Aug. 13, 2011

Under rating threshold (show) Got another question, im not using the downloads with this, im making all that myself so i can learn it too, does anyone know a good animation tutorial, i looked on the web but cant find anything that seems to help/work

+ - !

(0)

Gloogloos

Aug. 13, 2011

Under rating threshold (show) nvm got it, there was a layer that i missed and i deleted it and its all good now, thank god

+ - !

(0)

Gloogloos

Aug. 13, 2011

Under rating threshold (show) well i tried this and i got to the point with the explosion and now my game just flashes every few seconds, its just white and then for like 1 frame the game shows, and then goes white again, i deleted everything i had added before this and it still does it, someone PLEASE help me, ive been working for the whole day on this and i really dont want to have to start over only to make another damn mistake

+ - !

(0)

Qikker

Aug. 12, 2011

Under rating threshold (show) For all people who have problems with missiles that don't make enemie explode: after a week I finally solved it! You have to make sure that the name of your 'ship' is exactely filled in the codes, and it must be different from the class name. So I called it 'ShipInstance' and it only worked after I filled in this: for(var i in _root.ShipInstance.enemies) { if(this.hitTest( _root.ShipInstance.enemies[i] ) ) { this.removeMovieClip(); _root.ShipInstance.enemies[i].explode(); }

+ - !

(3)

yngwiedmb

Aug. 10, 2011

Under rating threshold (show) @jumpking55, that's because we are trying to access to a variable array which if you remember we have it defined in the ship. it's very wise to store it there because always will be the ship instance before any missile or enemy, so we can assure that the array enemies exists. Notice that is like a path, you can say: "from the root timeline (the main one), look for the ship, then inside it, give me the array enemies". I hope this helped. :P

+ - !

(0)

Lunapanther

Aug. 07, 2011

Under rating threshold (show) My missiles are only hitting about half of the enemies. For the other half they're just passing right past them.

+ - !

(0)

OkamiFanatic

Aug. 05, 2011

Under rating threshold (show) everything is going smoothly but my missiles do not make the enemies explode! anyone know how to fix this?

+ - !

(1)

yngwiedmb

Aug. 03, 2011

Under rating threshold (show) I don't know why the for..in loop is still not working for me... the instance's name is zhip, I added enemies.push(enemy); in the class Ship right after creating a new enemy (syntax test is ok). But in the Missile class on the very first line of the loop for(var i in _root.zhip.enemies) it founds and error, says class definition doesn't allow this declaration. Please help! =(

+ - !

(0)

Lucodonosor

Jul. 31, 2011

Under rating threshold (show) This really needs ba... oh wait

+ - !

(0)

hamuka

Jul. 31, 2011

Under rating threshold (show) When I wanted to import the .fla file into the Flash library, the Flash said: "One or more files were not imported because there were problems reading them." Also, nothing moves in the test movie. I have Flash CS 5.5, don't know if this is the problem.

+ - !

(2)

crow1234

Jul. 14, 2011

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

+ - !

(0)

spinzter

Jul. 14, 2011

Under rating threshold (show) please help whenever i hit the enemy dead on it kills it but when i hit it with my side it kills all enemies on screen, i really need help

+ - !

(-1)

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)

spinzter

Jul. 12, 2011

Under rating threshold (show) now it says this: EnemyMissle.as, Line 1 The class 'EnemyShip' needs to be defined in a file whose relative path is 'EnemyShip.as'.

+ - !

(-1)

spinzter

Jul. 11, 2011

Under rating threshold (show) please help whenever i shoot my missile at an enemy it wont kill it

+ - !

(2)

lego_pi

Jul. 10, 2011

Under rating threshold (show) Nevermind. Answer is yes. Kind of cheap that AS2 does that. I would expect more than a good old fashioned bounding box-style thing. Ah, well. It's still very useful.

+ - !

(2)

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)

pheibos

Jul. 03, 2011

Under rating threshold (show) Only half of the enemies on-screen are being killed by my bullets- the rest of them, I can only kill by moving my hero into them. Does anybody know a fix?

+ - !

(6)

chilller6

Jul. 01, 2011

Under rating threshold (show) these tutorials are good if u like challenges but u could also use Stencyl which uses no coding and is easy and fun

+ - !

(0)

felix2020

Jun. 28, 2011

Under rating threshold (show) @wowguy102 @Azer1652 Make sure the instance name of your hero ship is different than its class name, and make sure that the code if(this.hitTest(_root.ship)) instead of putting (_root.ship)), replace "ship" with the instance name (make sure casing is correct, too)

+ - !

(0)

Azer1652

Jun. 27, 2011

Under rating threshold (show) stuck on page 4, the enemies won't disseapear. I'm using CS5.5. Can anyone help me??

+ - !

(0)

kinxer

Jun. 20, 2011

Under rating threshold (show) @wowguy102 Make sure you typed in the contents of the explode() function correctly.

+ - !

(0)

neilshah99

Jun. 08, 2011

Under rating threshold (show) when i shoot the enemies, some of them dont even get affected, but when i shoot some of the others, they get shot. Can someone plzhelp? I literally copied the code into all my files, annd nothing got affected. Plz help!!!

+ - !

(0)

wowguy102

Jun. 05, 2011

Under rating threshold (show) hey im having a bit of trouble Ive been stuck on page 4 for about 30 mins now and it says that when the hero ship hits the enemy ship it is supposed to explode. I try to do that and it don’t work it does not even give me and error or anything my ship just flys through them. If you could help I would be very gratefull!!!! Thanks in advance!! -wowguy102

+ - !

(1)

Cacuu

May. 31, 2011

Under rating threshold (show) nvm i did it. lawl. evil missplaced } D:

+ - !

(0)

Cacuu

May. 31, 2011

Under rating threshold (show) i'm using flash cs5 and when i try to use the hitTest line it just returns an error saying that i cant use that code on a Class definition =( any solutions?

+ - !

(2)

chokofant

May. 20, 2011

Under rating threshold (show) @Twizler09 Right Click and open in new window.. It worked for me in google chrome :)

+ - !

(2)

Twizler09

May. 18, 2011

Under rating threshold (show) I NEED HELP!!!! when i click on the download for the sources nothing comes up and i want to advance on my game so can someone tell me a link or a way to fix this problem

+ - !

(0)

hadiclank210

May. 15, 2011

Under rating threshold (show) Kongregate rocks...and the website.

+ - !

(2)

necrogaz

May. 14, 2011

Under rating threshold (show) Do someone knows how to change a movie clip selection square to something else? i mean, i have blank spaces in my enemy ship and i want the "hero ship" go trough that blank spaces without taking damage, or without colliding, its there a way? (srry my bad english)

+ - !

(1)

coolcade283

Apr. 26, 2011

Under rating threshold (show) Hey, if you're testing your movie you need to have saves your .as files first or it won't change anything!! :) thumbs up keep it alive

+ - !

(-1)

mi4c

Apr. 26, 2011

Under rating threshold (show) "Okay, we're half way done. Take a break, check your e-mail, play a game, spam chat. No don't spam chat." Lolz..

+ - !

(13)

swwg

Apr. 23, 2011

Under rating threshold (show) why a game to game wiews profiles Natie38 And Me swwg what... A gemcraft to grade 12 how to grade 12 and good luck!

+ - !

(-2)

namenoob

Apr. 20, 2011

Under rating threshold (show) stuck here for a day the problem is my missiles through enemy and the reason is 1.) i forgot var enemy that made enemies.push(enemy) no property 2.) i forgot change the new ship instance name in all .as file think most ppl have same problem as i

+ - !

(-1)

Lewenlan

Apr. 16, 2011

Under rating threshold (show) I need help, i just finish the tutorial # 5 and now my ship can't move no more. With the thing I added. Only the background still working (Defile). Anyone got a idea why my game isn't working well now?

+ - !

(0)

saphire_the_fox

Apr. 14, 2011

Under rating threshold (show) If you're using CS4, the correct "properties" area where you input your new Instance Name to be "ship" can be found in the upper right panel. Just select the "Properties" tab instead of the "Library" tab. ((Your workspace may look different. I'm using the -Classic- Workspace. To change workspaces, go to the top of the program and click "Window"-> "Workspace" -> "Classic".))

+ - !

(1)

hunterswapras

Apr. 11, 2011

Under rating threshold (show) ok got ot!!

+ - !

(0)

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