Under rating threshold (hideshow)
it happened with the background, and it happened with the missles again, everytime I try to test movie for something it gives me the The class or interface 'Missile' could not be loaded. or the same but instead of missile it says background. Is there some little trick I am missing so this error can stop happening with all the things I insert in the game
Under rating threshold (hideshow)
when i added the missile, my ship wont move anymore. I keep getting the script error saying the spacebar cannot be used or something.
Under rating threshold (hideshow)
these are the best tutorials ever! tried others on newgrounds and they just aren't as good. working my way through them now
Under rating threshold (hideshow)
Lolazaurus, I had the same problem and it took me a long time to realize that the tense of the title of the .as file has to match the code. For example my file was missile.as and the code called for a class called Missile, with a capital M. I had to delete the .as file and resave it because overwriting it didnt fix the problem. Try that
Under rating threshold (hideshow)
Hombre and Apelhitam, I had the same problem. Be sure that you're entering hte "shootLimiter += 1" code into the onEnterFrame section of your ActionScript. That solved the problem for me.
Under rating threshold (hideshow)
It's not really "revolutionary" - having 0,0 as the top-left corner is quite standard in computing. The axes are perpendicular whether Y is up or down, so you're still using a valid cartesian coordinate system.
Under rating threshold (hideshow)
hey im stuck at page 7, ive entered the codes, and no errors come up when i test it. but no missile is shot from the ship when i push space. any help?
Under rating threshold (hideshow)
I completely agree Kienan - Have the developers of Flash even heard of the Cartesian Coordinate system - or are they just "revolutionaries".
Under rating threshold (hideshow)
I got everything to work so far, but my missles won't fire. I can't figure out what's wrong. By messing with the code i figured out it was in the _rootAttachMovie line, but I'm not sure what I did wrong. My _rootAttachMovie line is:
var missile = _root.attachMovie( "Missile" , "Missile" + _root.getNextHighestDepth() , _root.getNextHighestDepth() );
Under rating threshold (hideshow)
Why is the y axis 'backward' in flash? I'd think that 0,0 would be at the bottom left corner, not the top left. It keeps confusing me. :P I keep thinking values of y increase the nearer the top of the screen they are, when in fact they decrease. 0_o'
Under rating threshold (hideshow)
For people who are stuck on the shootLimiter, you need to ensure you reset the variable to 0 in the firing mechanism, otherwise it will only work for the first 8 frames.
Add "shootLimiter = 0;" w/o quotes into the firing if statemtent.
Under rating threshold (hideshow)
on step 7, to get the missles shooting out of the nose of the ship, i had to change the numbers to 85 and 21, rather than 50 and 2. U know why this is? I'm running Flash CS4 if that changes anything.
Under rating threshold (hideshow)
and for anyone stuck on drawing, adjust the white bar's width to 6 (if that wasn't common sense for you...I'm just making note of things I had to do myself)
Under rating threshold (hideshow)
@Betoqp:
Here's a hunch that should work...make the missile's velocity negative. (assuming it has a velocity...I started this particular tutorial but I've got some game/programming experience)
Under rating threshold (hideshow)
I need help I implemented the firing code into the ships code so when I press space it should fire a missile but when I do nothing happens... can anyone help me? I drew the missile and coded it too
Under rating threshold (hideshow)
Anyone knows how to shoot a missile to the left? I mean, from right to left. I want to make 2 ships, one facing the other and each shooting missiles at each other...
Under rating threshold (hideshow)
really great tutorials only they should change the name when i hear shootorial i think of a shooter tutorial not a game design tutorial but the tutorial is really great
Under rating threshold (hideshow)
For freezing bullet problem people... Make sure that you assigned a class to the missile symbol and that you spelled everything the same
Under rating threshold (hideshow)
can someone help me? I can make the missiles appear but they freeze in mid air and dont go any where? Can someone whisper me and tell me whats going on?
Under rating threshold (hideshow)
i now have it working, however it will only shoot when i move the ship down, is there a possible common mistake i have made in the coding?