Games Achievements My Kong Sign In

Comments for Shootorial #6

« Back to Shootorial #6

bannanman

Nov. 07, 2008

Under rating threshold (show) i put this._visible = false; in my function explode()... I don't get it.

+ - !

(0)

bannanman

Nov. 07, 2008

Under rating threshold (show) For some reason I can't get my guy to vanish.

+ - !

(0)

bannanman

Nov. 07, 2008

Under rating threshold (show) OMG THANK YOU VIRTUAL CRUSH!!

+ - !

(0)

dysalot

Nov. 07, 2008

Under rating threshold (show) Health meter fix: on scene 1 click on the health meter thing then on the bottom give it am instance name of: healthMeter that should do the trick

+ - !

(0)

virtualcrush

Nov. 06, 2008

Under rating threshold (show) Put "health = 100;" under your onload function in the ship class. (This was just for clarification. Its for those whose health meter isnt going down.)

+ - !

(0)

virtualcrush

Nov. 06, 2008

Under rating threshold (show) FIX FOR HEALTH METER NOT DOING ANYTHING. The tutorial doesnt tell you to add "health = 100;" under your onload function. I discovered this by actually just going through the code and playing out what is happening in my head and I realized the game was never being told what the health is supposed to be at in the first place.

+ - !

(0)

virtualcrush

Nov. 06, 2008

Under rating threshold (show) Nevermind. I added them to the timeline and still have the same problem. I have literally tried everything I can think of. All of my code is correct and in the proper spot. I have literally gone over it at least 30 times. I can only suspect that the copied health meter is not working properly or I havent copied it over correctly. If anybody has any ideas I would love to hear them.

+ - !

(0)

virtualcrush

Nov. 06, 2008

Under rating threshold (show) Ok, if I only have the ship and background layers on my timeline, could that be my problem? I notice on the completed game they also have a health, points and game over layer on top of the ship and background layer. I dont remember ever having to create a new layer for anything. My points thing works fine and its not on there so I dont think this is a must have but I just wanted to check because I still cant get the health meter to go down when hit by a ship or a missile.

+ - !

(0)

virtualcrush

Nov. 06, 2008

Under rating threshold (show) funnyruler, I am interested in how you fixed it? I have all the code proper, all spelling correct. I copied over the health thing like instructed. It just does not update.

+ - !

(0)

bannanman

Nov. 06, 2008

Under rating threshold (show) I have the smae problem as funnyruler! GOD DANG IT!!!!!!1

+ - !

(0)

bannanman

Nov. 06, 2008

Under rating threshold (show) Yay I am making flash game and I have gone through 2 shhotorials. number 5 was frikin long.

+ - !

(0)

funnyruler

Nov. 06, 2008

Under rating threshold (show) nevermind, it works now

+ - !

(0)

funnyruler

Nov. 06, 2008

Under rating threshold (show) i can't get my health bar to scale, though i copied everything the way they said to if somebody can help please

+ - !

(0)

Damienov

Nov. 04, 2008

Under rating threshold (show) 7 already out :)

+ - !

(0)

SuperJoeeee

Nov. 04, 2008

Under rating threshold (show) What time does 7 and 8 come out?

+ - !

(0)

senseofdread

Nov. 03, 2008

Under rating threshold (show) cant wait for 7 and 8

+ - !

(0)

master54100

Nov. 03, 2008

Under rating threshold (show) everything works perfectly except the restart button =(

+ - !

(0)

SuperJoeeee

Nov. 02, 2008

Under rating threshold (show) Health bar doesn't work :( I followed it EXACTLY and it won't work.

+ - !

(0)

Smiter

Nov. 02, 2008

Under rating threshold (show) Tomidimus, i had the same problem as Drworm but thanks to you it is fixed (Y) Cheers

+ - !

(0)

Squiddle

Nov. 01, 2008

Under rating threshold (show) Yay completed it. I can't wait for the next and last two ^.^.

+ - !

(0)

Squiddle

Nov. 01, 2008

Under rating threshold (show) Oh nvm got it to work, just took a hile to realize you can't select movie clips with the sub-select tool.

+ - !

(0)

Squiddle

Nov. 01, 2008

Under rating threshold (show) How do you put a movie clip inside a movie clip?

+ - !

(0)

Squiddle

Nov. 01, 2008

Under rating threshold (show) I can work some stuff out, but it doesn't explain how you make a bar clip inside of it.

+ - !

(0)

987456321

Nov. 01, 2008

Under rating threshold (show) plz help me. i want the ship to be removed when it explodes not just make it invisible. this.removeMovieClip?? where would i put it and what do i have to do also i would like it so that it goes to frame (3) when the ship explodes.

+ - !

(-1)

Tomidimus

Nov. 01, 2008

Under rating threshold (show) @DrWorm: put resetHealth(); in the Ship's onLoad function, below resetScore();

+ - !

(1)

Drworm356

Nov. 01, 2008

Under rating threshold (show) can someone help me because my healthbar won't work i've checked everything i could think of and it stil doesn't work

+ - !

(0)

sawyer321

Nov. 01, 2008

Under rating threshold (show) function explode() { this._visible = false; var explosion = _root.attachMovie("Explosion", "Explosion" + _root.getNextHighestDepth(), _root.getNextHighestDepth()); explosion._x = _x; explosion._y = _y; for(var i in enemies) { enemies[i].explode(); } }

+ - !

(0)

sawyer321

Nov. 01, 2008

Under rating threshold (show) function updateScore(points) { score += points; _root.scoreText.text = score; }

+ - !

(0)

sawyer321

Nov. 01, 2008

Under rating threshold (show) function explode() { var explosion = _root.attachMovie("Explosion","Explosion" + _root.getNextHighestDepth(),_root.getNextHighestDepth()); explosion._x = _x; explosion._y = _y; this.removeMovieClip(); _root.ship.updateScore(50); }

+ - !

(0)

987456321

Nov. 01, 2008

Under rating threshold (show) can someone plz help me...i want the ship to disappear when it explodes not just make it invisible. this.removeMovieClip?? where would i put it and what do i have to do

+ - !

(0)

schredy

Nov. 01, 2008

Under rating threshold (show) the -40 will let your missile go backwards when you launch it, the +... will make your missile go faster in time (when i tested it, i used +5)

+ - !

(0)

schredy

Nov. 01, 2008

Under rating threshold (show) @|eragon|: create a new var (for exaple add "var mSpeed") and add it to your Missile-class. now, add "mSpeed = -40;" to your onLoad()-function, change in your onEnterFrame()-function: "_x += speed + mSpeed;" and add "mSpeed += ..." to your onEnterFrame()-function.

+ - !

(0)

RockFireIce

Nov. 01, 2008

Under rating threshold (show) 2550

+ - !

(0)

pooandwee

Nov. 01, 2008

Under rating threshold (show) surely you can work most of this stuff out for yourself by now?

+ - !

(0)

domomo

Nov. 01, 2008

Under rating threshold (show) two glithches when u die and press play again u appear where u died also when u die you get points for other ships on screen that blow up

+ - !

(0)

lEragonl

Oct. 31, 2008

Under rating threshold (show) I was wondering if there was anyway to have the missile speed be dependent on how long it's been in existence (in frames). I wanted to simulate something like rockets. What I was thinking of was having the missile speed be -5 + t(in frames) where t is how many frames the missile has been on the screen, but I can't get the script to work. Any suggestions? Maybe a onload function with {speed + 1;}?

+ - !

(0)

Timothiess

Oct. 31, 2008

Under rating threshold (show) All You Have To Do Is Follow The Tutorial Exactly, How Come People Are Having Trouble? The Usual Hard Part Is When You Try To Code Yourself

+ - !

(-1)

doomdoom24

Oct. 31, 2008

Under rating threshold (show) the score wont update it just disaperes but all my code is right plz help

+ - !

(0)

Squiddle

Oct. 31, 2008

Under rating threshold (show) Doesn't describe how to make the health bar enough, it just says make one.

+ - !

(0)

doomdoom24

Oct. 31, 2008

Under rating threshold (show) the score wont update

+ - !

(0)

doomdoom24

Oct. 31, 2008

Under rating threshold (show) I have the same problem as stickmakerman plz help me plz!!!!

+ - !

(0)

InsatiablyCivil

Oct. 30, 2008

Under rating threshold (show) i cant get my ship to explode :S it just makes an infinite number of movieclips trailing wherever he goes

+ - !

(0)

Banzai5150

Oct. 30, 2008

Under rating threshold (show) for those with HealthBar issues: Make sure the MovieClip inside of healthMeter has the Instance Name of bar Also make sure that healthMeter is the Instance Name of the actual Graphic(Movie Clip).

+ - !

(1)

flickenmaste

Oct. 30, 2008

Under rating threshold (show) health bar doesnt work....

+ - !

(0)

TummyFish

Oct. 30, 2008

Under rating threshold (show) my health bar doesnt work, doesnt go down when im hit

+ - !

(0)

schredy

Oct. 30, 2008

Under rating threshold (show) @darkai117: put "resetHealth();" in onLoad(), but not in "onEnterFrame();"

+ - !

(0)

Darkai117

Oct. 30, 2008

Under rating threshold (show) i got a problem with the health bar too, ive tried putting the two functions into the on load and on enter frame but the health bar wont go down when im hit

+ - !

(0)

stickmakerman

Oct. 30, 2008

Under rating threshold (show) i got problem with the score now, it wont get any points when i destrouy enemy, i need help

+ - !

(0)

schredy

Oct. 30, 2008

Under rating threshold (show) @btownballer2k5: i think you mean put "resetHealth();" in your onLoad() function (class Ship) (in your onEnterFrame() function, your health would be 100 all the time!)

+ - !

(0)

ALiFe22

Oct. 30, 2008

Under rating threshold (show) @stickmaker: it's an other function, so put after you closed the onEnterFrame.

+ - !

(1)

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