Games Achievements My Kong Sign In

Comments for Shootorial #6

« Back to Shootorial #6

Albany

Jan. 20, 2009

Under rating threshold (show) My health bar is not going from right to left when my ship is hit instead, its going from right to left AND from left to right at the same time.. any clue ?

+ - !

(0)

addictednerdyfat

Jan. 20, 2009

Under rating threshold (show) Fabolous1, my healthbar still doesnt work. How did you solve it?

+ - !

(0)

Neosano

Jan. 19, 2009

Under rating threshold (show) rofloldude, i'm not saying that this is a bad tutorial(of course for you it's sooo good), I only want to show you mistakes in this code.

+ - !

(0)

ShroomedOut

Jan. 18, 2009

Under rating threshold (show) haha xD i sat 2 hours trying to figure out why my game over menu didnt go away in the beginning when i realized it didnt have an instance name :P

+ - !

(0)

rofloldude

Jan. 18, 2009

Under rating threshold (show) neosano you suck ass, if you think this is a bad tutorial go ahead and make a better one noob

+ - !

(0)

Neosano

Jan. 15, 2009

Under rating threshold (show) And better will be if you create a explosion class, why not? wtf..1/5

+ - !

(0)

coooooookies

Jan. 14, 2009

Under rating threshold (show) my health bar still won't work i think its the _xscale part... i don't get how it's supposed 2 work. can some1 plz xplain 2 me? resetHealth(); IS in my onLoad(){} sect. hlp plz...

+ - !

(0)

rscp1050

Jan. 14, 2009

Under rating threshold (show) The link for the source files won't work...i click it and nothing happens....

+ - !

(0)

johnnei

Jan. 12, 2009

Under rating threshold (show) tip in new game add _x = and _y = and shootTimer = 6; so you can shoot right away

+ - !

(0)

ZombLee

Jan. 11, 2009

Under rating threshold (show) My health bar wasn't working 'cause i didn't put "resetHealth();" in the onLoad function of the Ship class.

+ - !

(0)

Beogard

Jan. 07, 2009

Under rating threshold (show) For whatever reason, adding the gameOverMenu broke my resetScore() and resetHealth() functions; I have to add a "_root.ship." before both, from within Ship.as, to avoid error messages, but neither one is working anymore. I have no idea what went wrong, as they were working perfectly right before adding the newGame() function...... the joys of programming.

+ - !

(0)

GrouchyGrouse

Jan. 06, 2009

Under rating threshold (show) i've gotten everything to work... but now the background doesn't scroll any more. Help? Please?

+ - !

(0)

Fabolous1

Jan. 06, 2009

Under rating threshold (show) Oh nevermind, thanks a lot Aleswolf.

+ - !

(0)

Fabolous1

Jan. 06, 2009

Under rating threshold (show) I can't get the healthbar to work either. Maybe it's because I'm using Adobe Flash CS4 (with AS 2.0)... I don't understand. the updateScore function is working, but updateHealth isnt updating.

+ - !

(0)

aleswolf

Jan. 06, 2009

Under rating threshold (show) You need put "resetHealth();" on the "onLoad()" function!

+ - !

(0)

Gnuman

Jan. 05, 2009

Under rating threshold (show) i got it i read the previous comments and got it

+ - !

(0)

Gnuman

Jan. 05, 2009

Under rating threshold (show) thanks for the help comments because i'm making a similar game but with enemies from both sides and no shooting, s i cant just copy all the code either. PS: How do you change the registration point?

+ - !

(0)

IBEZ

Dec. 27, 2008

Under rating threshold (show) For the health bar, if it's shrinking toward the middle, change the registration on the bar instance to the left and not the middle. It will shrink towards wherever the registration point is. If it's not working at all, that's because you need to call resetHealth(); in your ship's onLoad function.

+ - !

(0)

DionysusX

Dec. 24, 2008

Under rating threshold (show) If you're having problems with the health meter, you need to do this: 1) Check the source files from the Shootorial to make sure that the scripts are correct. 2) Click on the health meter on the stage once and make sure that the instance name is "healthMeter" for the movie clip named healthMeter, not healthMeterBar. 3) Click on the healthMeter on the stage twice and make sure that the instance name is "bar" for the movie clip named healthMeterBar. Your health meter should be working by now.

+ - !

(-1)

Jotamota

Dec. 23, 2008

Under rating threshold (show) yaikes my health bar is working. sorta. instead go to left when losing life, the bar goes shrinking to the middle! and the playagainbutton doesnt work! please help!

+ - !

(0)

Jotamota

Dec. 23, 2008

Under rating threshold (show) my health bar dont work... please I need help!

+ - !

(0)

BenTennyson

Dec. 22, 2008

Under rating threshold (show) need badges, lol ok, thanks kongregate, its awesome!!!

+ - !

(0)

eamo2020

Dec. 22, 2008

Under rating threshold (show) I cant get my reset button to work, i keep getting an error saying - The class or interface 'gameOverMovie' could not be loaded. any1 got any ideas??

+ - !

(0)

Cat_Bomb

Dec. 22, 2008

Under rating threshold (show) my health bar doesnt work could any1 help me with that?

+ - !

(0)

Rajail

Dec. 22, 2008

Under rating threshold (show) took me a few hrs but i did it all and its working good! now its time to start that fire that i been putting off for the last 3 hrs cause of this game lol *shiver*

+ - !

(1)

jakster4u

Dec. 21, 2008

Under rating threshold (show) I didn't think Flash was this easy, it gives you all the methods you need.

+ - !

(0)

Fargren

Dec. 16, 2008

Under rating threshold (show) I can't get the lifebar I built to work, it stays full all the time. Anyone have any ideas? Great tutorial, anyhow.

+ - !

(0)

Knocksious

Dec. 15, 2008

Under rating threshold (show) @killer you are exporting them for ActionScript, which isn't necessary, just give it the proper instance name

+ - !

(0)

killer8256

Dec. 14, 2008

Under rating threshold (show) how come every time I make a symbol and put it on the screen the "class or interface _______ could not be loaded" error comes up when i run it?

+ - !

(0)

chjabr0010

Dec. 13, 2008

Under rating threshold (show) Never mind, i fixed it. Thx aggixx.

+ - !

(0)

chjabr0010

Dec. 13, 2008

Under rating threshold (show) I'm having problems with my health bar, it wont work when i test the game. Any ideas?

+ - !

(0)

jsioui

Dec. 07, 2008

Under rating threshold (show) My playAgainButton wont do anything when i test it. Any help?

+ - !

(0)

rainfire555

Dec. 07, 2008

Under rating threshold (show) there is no method for resetScore?

+ - !

(0)

xedon

Dec. 06, 2008

Under rating threshold (show) For scaled, change it to _width = [widthofhpbar];

+ - !

(0)

tahkratos

Dec. 03, 2008

Under rating threshold (show) you get an erroir if it hasnt got a class true but if u ean an as file the error is harmless

+ - !

(0)

twister753

Nov. 30, 2008

Under rating threshold (show) I wish all Flash Tutorials could be this clear and, for that matter, glitchless. Please, make other series of tutorials like Platformorials, or something... (I know the name is not that great).

+ - !

(0)

aggixx

Nov. 28, 2008

Under rating threshold (show) You might have the source files from the last shootorial, here's the link for this one's source: http://chat.kongregate.com/gamez/0002/6394/live/assets/source_files.zip

+ - !

(0)

Silencian

Nov. 28, 2008

Under rating threshold (show) I've already got both the instance name and the 100...

+ - !

(0)

aggixx

Nov. 28, 2008

Under rating threshold (show) I solved the problem of the health bar not working by giving the healthmeter an instance name 'healthMeter', and setting it to 100 in the onload section of the ship class.

+ - !

(0)

Silencian

Nov. 28, 2008

Under rating threshold (show) I've downloaded the source, and the health bar isn't there. WHAT THE HELL?

+ - !

(0)

Silencian

Nov. 28, 2008

Under rating threshold (show) Right, that's fixed. The only problem is it now won't scale. -.-

+ - !

(0)

Silencian

Nov. 28, 2008

Under rating threshold (show) If you make a health meter into a movie clip, it needs a class or there's an error. If it isn't a movie clip, you can't add an instance name. If you can't add an instance name, it doesn't work. I give it a class, and guess what? The stupid thing won't scale.

+ - !

(0)

Darkone557

Nov. 26, 2008

Under rating threshold (show) Never mind. I figured it out.

+ - !

(0)

Darkone557

Nov. 26, 2008

Under rating threshold (show) I'm making my own health meter and i can't figure out how to make it 'scaled'. Any help?

+ - !

(0)

slain4ever

Nov. 26, 2008

Under rating threshold (show) thx, my heathmeter didnt have an instance name, giving it one foxed everything

+ - !

(0)

Zoombus

Nov. 26, 2008

Under rating threshold (show) thanks Vancano, that's just what I needed :)

+ - !

(0)

tahkratos

Nov. 26, 2008

Under rating threshold (show) lol maybe i cant see it but theres something missing on the tutorial. u have to write var score; or ull get error in every line u use score

+ - !

(0)

Bonabopn

Nov. 26, 2008

Under rating threshold (show) I read that bit about the "health = 100" on the onload. It still didn't work. I've also given the health bit a name.

+ - !

(0)

Vancano

Nov. 26, 2008

Under rating threshold (show) The main problem I had with the health bar not updating was that I had not set health to 100 in the 'On Load' function at the beginning of the Ship class. Try that and see if the bar will update. Also check you have all of the names correct and that the coloured bit in the health bar has been given a name.

+ - !

(0)

slain4ever

Nov. 26, 2008

Under rating threshold (show) Hey need someones help; the only thing that doesnt work is the health bar doesnt change its size (you can still die though)

+ - !

(0)

  • 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