Comments for Shootorial #6

avatar for grandshadowdude
grandshadowdude

Jun. 04, 2012

Under rating threshold (show) This doesn't really explain how to make the health gauge or the game over menu.

+ - !

(0)

avatar for demyx3
demyx3

May. 14, 2012

Under rating threshold (show) @silent22 you can make a new function similar to the explode(); function that dosen't give you points, and you can call that function instead

+ - !

(0)

avatar for demyx3
demyx3

May. 14, 2012

Under rating threshold (show) Remember to put resetHealth(); in your onLoad function!

+ - !

(0)

avatar for farquay
farquay

Apr. 22, 2012

Under rating threshold (show) I cant figure out how to fix the PLAY AGAIN button. Could someone explain in detail how they incorporated the PLAY AGAIN button? I used a Text Box and the coding provided. Ty for help

+ - !

(0)

avatar for silent22
silent22

Apr. 22, 2012

Under rating threshold (show) Is there a way to make it so that the enemies don't give you points when they explode when you die? And great tutorial.

+ - !

(0)

avatar for Sketchist
Sketchist

Apr. 15, 2012

Under rating threshold (show) TYPO page 5 it says it's instead of let's. Thank you, kongregate for the tutorial!

+ - !

(1)

avatar for hmmmmmmmmm
hmmmmmmmmm

Apr. 08, 2012

Under rating threshold (show) For all problems with the health meter not going down, don't forget to add resetHealth(); in the function onLoad() for ship. Worked for me

+ - !

(0)

avatar for CUBAN0L0C0
CUBAN0L0C0

Apr. 03, 2012

Under rating threshold (show) for all with health bar issues read this: http://tinyurl.com/7xrwzz4 you can still use the objects names from the tutorial just make sure you cut/paste and make a new layer like the book says.

+ - !

(0)

avatar for Fishdawg
Fishdawg

Mar. 10, 2012

Under rating threshold (show) _root.gameOverMenu.playAgainButton.onPress = function() { _root.ship.newGame(); } The above code isn't even attempted at being explained. Please can someone help

+ - !

(1)

avatar for dubintensity
dubintensity

Feb. 21, 2012

Under rating threshold (show)

+ - !

(-9)

avatar for hannesdelbeke
hannesdelbeke

Feb. 21, 2012

Under rating threshold (show) if your healtbar that you made yourself scales at both sides make sure if you convert it to a symbol you can pick between 9 squares dont choose the middle one, but the left or right i don't know how to change it so just make a new symbol

+ - !

(0)

avatar for Catwheel
Catwheel

Jan. 31, 2012

Under rating threshold (show) IF YOUR HEALTH BAR IS NOT CHANGING: try this. 1. click the healthMeter on screen and check the properties to make sure it has the proper instance name "healthMeter". 2. double click the healthMeter on screen to go "inside" it and then click on the green bar and make sure it has the proper instance name "Bar". 3. also make sure that the green bar is a MovieClip. 4. If this Comment has helped you approve it. IF YOUR SCORE IS NOT CHANGING: I don't have a good solution for this, but I changed the text to "1234567890" before running and after it resets it seems to display the score properly.

+ - !

(0)

avatar for siq1ne
siq1ne

Dec. 31, 2011

Under rating threshold (show) http://help.adobe.com/en_US/AS2LCR/Flash_10.0/help.html?content=Part2_AS2_LangRef_1.html Very, very helpful :)

+ - !

(0)

avatar for siq1ne
siq1ne

Dec. 31, 2011

Under rating threshold (show) nevermind.. just did all the modifying of score in the Ship.as instead of passing it through (derp)

+ - !

(0)

avatar for siq1ne
siq1ne

Dec. 31, 2011

Under rating threshold (show) When I do "_root.ship.updateScore(50);" it works fine, but when I do "_root.ship.updateScore(variablehere);" it doesn't work. Anybody know why? I'm sure it's an easy fix but have been banging my head on it for longer than I care to admit. Basically, I'm trying to have a score modifier so my score will not always be a flat 50. I can't seem to pass that variable through though. When it triggers the score just completely disappears..

+ - !

(2)

avatar for Aedric
Aedric

Dec. 18, 2011

Under rating threshold (show) Don't use chunigamy's advice first unless you have tried the others, it wasted a half an hour for me.

+ - !

(2)

avatar for jhayzxenon
jhayzxenon

Dec. 02, 2011

Under rating threshold (show) i knew something is wrong that's why i can't get this one to work i double entered function updateHealth(points){health += points;if(health < 1) if folks are having problems try downloading the source files then compare bothto see the difference

+ - !

(-1)

avatar for GraphicDesignC
GraphicDesignC

Nov. 28, 2011

Under rating threshold (show) Hey guys if you're having a problem with your play again button, here is the right syntax for the code. Kongregate decided to f**k it all up. YOU DON'T NEED THE BRACKETS CALLING ON THE FUNCTION: _root.gameOverMenu.playAgainButton.onPress = function newGame(); You call the function from inside the function, on the button press. You don't need the brackets to call the function from there. Sometimes Kong is stupid as hell.

+ - !

(-1)

avatar for absolutel
absolutel

Nov. 24, 2011

Under rating threshold (show) I love these tutorials. I do not actually make that game but it is great that when I just dont know how to do anything, I can just look into tutorial where it is explained. GJ kongregate.

+ - !

(0)

avatar for jrtibayan
jrtibayan

Nov. 20, 2011

Under rating threshold (show) i dont know why but it wont work if i use healthMeter as instance name. i tried to remove a letter and it works.. using bar as instance doesnt give me problem can someone tell me possible reasons why i cant make it work with instance name healthMeter but works if i change it? btw im using Adobe Flash CS5.5 Pro

+ - !

(0)

avatar for crapageddon
crapageddon

Nov. 11, 2011

Under rating threshold (show) @iGreenPuffle, chunygami, anyone: When you make health = 100 that fixed the problem for me too. Is it because health var had not been defined yet as a var type? Does making it 100 for some reason tell Flash what data type to make it? Just wondering why that fixed it for future troubleshooting.

+ - !

(0)

avatar for masterroel
masterroel

Nov. 09, 2011

Under rating threshold (show) I had my score just showing zeros all the time. The problem was with the embed in the properties of scoreText, you actually need to click the little box before the numerals (0..9). There will be a V in it. Thought you just had to select it and click ok, but you need to check it of in the list. If you dont check numerals, it can only show the characters that you have already typed in the box, that is why typing 1234567890 in the box is also a solution.

+ - !

(0)

avatar for SweetiePie
SweetiePie

Nov. 02, 2011

Under rating threshold (show) ATTENTION! If your score isn't showing up at all despite you checking the instructions and banging your head against the wall several dozen times, check the color of the text in the text box. Even if it's a color that SHOULD show up, look at Alpha. Is it 0%? This is why it's invisible, alpha is the transparency. I don't know why, but the default value of alpha for me is 0%, which means it's invisible, set it to 100% and your problem will be solved. Hope this helps someone else.

+ - !

(0)

avatar for civicnista
civicnista

Oct. 25, 2011

Under rating threshold (show) how I can download the source file for this tutorial ?? Someone help me plz???

+ - !

(0)

avatar for LeviP10
LeviP10

Oct. 10, 2011

Under rating threshold (show) thanks guys a lot of the details i have either missed or couldn't find has come in handy when you have said them in here. love this tut

+ - !

(0)

avatar for katieah
katieah

Oct. 09, 2011

Under rating threshold (show) Got absolutely EVERYTHING to work except it does nothing when I click on the "Play Again" button... Can anyone help?

+ - !

(0)

avatar for Bart0vds
Bart0vds

Oct. 06, 2011

Under rating threshold (show) uhm i meant the left point, my healthbar is vertical so i got it on the lower point.

+ - !

(0)

avatar for Bart0vds
Bart0vds

Oct. 06, 2011

Under rating threshold (show) when you make your own healthmeter, make sure when you convert the bar to a movieclip, that the registration point is on the middle-lower point.

+ - !

(0)

avatar for tyraxor456
tyraxor456

Sep. 28, 2011

Under rating threshold (show) i check my health and this decrease correctly but not the bar. Someone help me?

+ - !

(1)

avatar for tyraxor456
tyraxor456

Sep. 28, 2011

Under rating threshold (show) My healthbar dont works :'(

+ - !

(1)

avatar for TanalB
TanalB

Sep. 26, 2011

Under rating threshold (show) Hey, for those of you who can't see your score because it's blank. Click on the text box for the score and go to the properties tab. Make sure the font color is black. Mine was on white and I couldn't see the score and thought it was a programming error. :/ fail

+ - !

(1)

avatar for CcsDude
CcsDude

Sep. 26, 2011

Under rating threshold (show) big problem... i can't get my gameOverMenu to dissapear and for some reason the onEnterFrame function on my ship class isn't working... any ideas?

+ - !

(0)

avatar for DarthSawyer
DarthSawyer

Aug. 30, 2011

Under rating threshold (show) @roddel80 The text box has to be empty, you have a 0 in it. This health Bar is accursed, i cannot fix it for the life of me.

+ - !

(0)

avatar for ShannonNorris
ShannonNorris

Aug. 23, 2011

Under rating threshold (show) I cannot get my gameOverMenu to disapear and reapear when I die. It is always there. I have copied all of the source code to do it and it didn't work and then I tried using there gameover menu and that didn't work either!

+ - !

(1)

avatar for roddel80
roddel80

Aug. 20, 2011

Under rating threshold (show) I need help with the score the 0 appers and when i shoot an enemy ship it says 00 but it then goes back to 0 the code should be right, and i looked at the object itself but i cant figure out the problem

+ - !

(1)

avatar for Gloogloos
Gloogloos

Aug. 14, 2011

Under rating threshold (show) went on to the next shootorial, but then noticed that after i died everything went normal until i hit play again, after that everytime i hit spacebar (to shoot), it runs the play again function, i get reset, i think whats happening is that because i hit play again, the button is still selected even though its invisible and everytime i hit space it presses it again, so i get reset, does anyone know how to disable the button, i tried by setting it to enabled = false until the game over appeared but it doesnt work, am i missing something really obvious

+ - !

(0)

avatar for Gloogloos
Gloogloos

Aug. 14, 2011

Under rating threshold (show) They said Shootorial 5 was the hardest, not by much apparently, i cant get my score NOR my health to work, ive gone through around 5 pages of comments to find a solution and ive tried almost everything, ive redone them multiple times and still nothing, score just goes to 0 (so the reset works) but doesnt increase at all, and the health does nothing

+ - !

(1)

avatar for icarly40000
icarly40000

Jul. 28, 2011

Under rating threshold (show) help my heath bar doesn´t work. The image never changes.

+ - !

(1)

avatar for Axonn
Axonn

Jul. 26, 2011

Under rating threshold (show)

+ - !

(-9)

avatar for bigauburnfan101
bigauburnfan101

Jul. 25, 2011

Under rating threshold (show) Like everyone else, I am also having problems with the health bar. After ten hits from enemy ships and missiles, my ship will explode on cue and then the game over menu works like a charm. The only problem is the fact that the health meter image never changes. Does anybody have any other suggestions to help solve this issue?

+ - !

(0)

avatar for tempest10
tempest10

Jul. 17, 2011

Under rating threshold (show) I figured out the problem and fixed it but now my health bar wont work I tried what mars83 posted and what iGreenPuffle92 posted and neither worked I tried them together and seperate and I can still play the game but the health bar won't work and its instance name is healthMeter. my health bar is copy posted from the source so I don't know what might be wrong?????

+ - !

(0)

avatar for RafaelT4
RafaelT4

Jul. 13, 2011

Under rating threshold (show) I checked and all my files are the same as the ones downloaded from the source file, I don't know what's wrong please help D:!!!!

+ - !

(1)

avatar for RafaelT4
RafaelT4

Jul. 13, 2011

Under rating threshold (show) Everything is perfect except the health meter doesn't move, I still get the game over thing, but it just doesn't move, it stays green, can anyone tell me how to fix this?

+ - !

(2)

avatar for tempest10
tempest10

Jul. 13, 2011

Under rating threshold (show) uh I can't get the score to work a series of errors in coding had showed up when I pasted the code on pg3 over the root update to the ship class so when I thought I had fixed those errors (actionscrpt shut up about them) I tested and shot down an enemy the game flipped out and said too much stuff was happening all at once and it immediately gave my ship a 12600 score?????????

+ - !

(0)

avatar for Relondo
Relondo

Jul. 13, 2011

Under rating threshold (show) I'm having the same problem as WolfHack. I think.

+ - !

(1)

avatar for ClarenceC
ClarenceC

Jul. 01, 2011

Under rating threshold (show) Anyone knows why does my score does not go up? When i destroy an enemyship, my score become 00 instead of 50

+ - !

(-1)

avatar for ClarenceC
ClarenceC

Jun. 28, 2011

Under rating threshold (show) Okay, i found the problem. I forgot to reset score to 0

+ - !

(-1)

avatar for ClarenceC
ClarenceC

Jun. 28, 2011

Under rating threshold (show) somebody help me! my score in the swf started off as "neine" and when i hit or destroy a ship, it says "a". i have no idea what happened. Im using adobe cs5.5

+ - !

(-1)

avatar for Shadowdagger001
Shadowdagger001

Jun. 28, 2011

Under rating threshold (show) DougR1, if you still haven't figured out why your bar was decreasing from both directions. i had the same problem, but i fixed it. double click inside the healthbar, then doubleclick the bar movie clip, and move the bar so that the little cross is along the left side of the bar. go back to the health meter, realign, and problem solved :)

+ - !

(0)

avatar for austinplaneboy
austinplaneboy

Jun. 27, 2011

Under rating threshold (show) Can someone help. I used all the codes for he score and health bar, but when the health bar decreases, both sides of the bar decrease instead of just the right side and for some reason when I koll an enemy, my score won't increase. Help plz!

+ - !

(1)

  • add a comment