Under rating threshold (hideshow)
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
Under rating threshold (hideshow)
@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!)
Under rating threshold (hideshow)
this one doesnt work, at least not for me, i got source from shootorial 5 and folowed these instructions, it didnt work
Under rating threshold (hideshow)
can anyone figure out the problem with the health bar? it keeps saying
The class or interface 'bar' could not be loaded.
and
The class or interface 'healthMeter' could not be loaded.
Under rating threshold (hideshow)
just a question, will the tutorial be teaching us how to make our ship not go out of screen or had i missed that part?
Under rating threshold (hideshow)
To nball199:
make sure that your variable is correct spelling, example ScoreText is not same as scoreText, check for this ^_^
Under rating threshold (hideshow)
i got stuck on that, download the source codes and just copy and paste the kongregate ship.as to your ship.as do that for all of them and then copy the health meter etc. then just do the tut but skip the actionscript parts. all u need to do then is put the health and game over things on and give them instance names.
Under rating threshold (hideshow)
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
Under rating threshold (hideshow)
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
Under rating threshold (hideshow)
@ryanwwong
Yes, it is simple and easy, but you are even more sad to assume everyone has the thinking pattern to figure out codes and variables in flash.
That aside, the tutorials up to this point have been very instructive, easy to follow and helpful!
Under rating threshold (hideshow)
well they assume your not all complete idiots, to get scoring and health to work, follow tut exactly and put the health meter in ts own layer above layer 1, game over layer is at the very top of all layers, you can also put score into own layer.... if you are having probs with health meter not decreases right set origin to left, while converting to symbol
Under rating threshold (hideshow)
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.
Under rating threshold (hideshow)
For anyone who has hunterswapras problem, that mean that you are calling a function that is calling another function (which is good programming) but one of two things is happening:
1) What you are trying to do goes through so many functions that the 'recursion depth' is exceeded. This just means that you can't call any more functions inside of what you are already running.
2) You have a function that calls a function that calls the first function, which re-calls the second function, which re-calls the first function, ect. . . and you have no terminating condition.
Under rating threshold (hideshow)
I can't download the source file. Nothing happens when I click it. And I really need it right now. :( When I add the if(_visible = true) statement to my ship onLoad function, the ship does not turn invisible after being destroyed anymore. Very strange and annoying and can't find anything...