Under rating threshold (hideshow)
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
Under rating threshold (hideshow)
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)
Under rating threshold (hideshow)
@|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.
Under rating threshold (hideshow)
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
Under rating threshold (hideshow)
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;}?
Under rating threshold (hideshow)
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
Under rating threshold (hideshow)
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).
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.