Under rating threshold (hideshow)
have all the code in place but my missiles wont move HELP, i have the _x += velocity; and the onload function defines properly but it still won't work@ i have the same problem here
Under rating threshold (hideshow)
When you are putting the code in for the missile to come out from the nose of the ship, setting _y to _y +2 is a bit off center, 3 works better.
Under rating threshold (hideshow)
Continually incrementing the shootLimiter variable can cause an overflow if the player decides not to fire for a while. To fix this change the line shootLimiter += 1; to the lines
if(shootLimiter <= 8) {
shootLimiter++;
}
Under rating threshold (hideshow)
i have all the code in place but my missiles wont move HELP, i have the _x += velocity; and the onload function defines properly but it still won't work
Under rating threshold (hideshow)
These tutorials are brilliant. I really appreciate the time taken to make these, as they are a great help to get started and attempt to understand actionscript with the explanations given. I'm so glad you show a screenshot each time there's new actionscript, as it's so easy to make one simple mistake or typo, and you'll end up with nothing...
Under rating threshold (hideshow)
Alright i have a problem, Please anyone help. On 3 my missile stays where i shot it but when i get to 5, It moves across the screen only above everything on the very top.
Under rating threshold (hideshow)
damn, i did everything right... but it still doesn't seem to work.
The shootLimiter doesn't work, but i did everything exactly the same as in the tut. Can anyone help?
Very nice tutorials btw!
Under rating threshold (hideshow)
If you're stuck check you've spelt all your names and class names right when adding symbols. I spelt missile wrong when converting to symbol in the class category and they wouldn't work until I remade my missiles.
Under rating threshold (hideshow)
People who can't get their missiles to move:
Make sure that in your onEnterFrame() function there is the line
_x += velocity;
Also, ensure that the onLoad() function defines the velocity properly. ex: var velocity = 10;
Under rating threshold (hideshow)
I have 2 ships created with different control schemes, but I want to use the same missile class for both. They fire in the direction they last moved, so how can I tell the missile class which ship has just fired? If I could distinguish which ship was firing it would solve all my problems.
Under rating threshold (hideshow)
My missiles won't move either. They just appear and stay there. I've checked everything again and again but I can't find the problem.
Under rating threshold (hideshow)
I couldn't wait for this tutorial, so i've already searched and learned how to make it. ;P Anyway, the only reason why i'm learning Flash and ActionScript now, is because you've motivated me. Thank you Kongregate!
Under rating threshold (hideshow)
Now we're gettin' into the stuff I wanted to see. Oh, and number seven. Funnily enough, I feel no sense of accomplishment.