Under rating threshold (hideshow)
@ imnotjuan
when you test it, put it in full screen. if it show up , then that means you need to change from where the missile shoots.
Under rating threshold (hideshow)
After i do the missile part and did everything right my Background and Ship wont move and i cant fire any missile help please
Under rating threshold (hideshow)
rngblade I reccomend just naming each class a 1 or 2 letter name to make it very easy to remember and not screw up, i called my backround bg and ship ship and missile ms to make it simple
Under rating threshold (hideshow)
nobody, you are mixing some of your codes together, make sure to put tabs on each seperate part just like in the tutorial to keep everything seperate and easy to read, otherwise its WAY too easy to get everything not working and mixed up
Under rating threshold (hideshow)
I have two problems with the same thing, the ship class and missle class (I named as bullet) could not be loaded, HELP guys!
Under rating threshold (hideshow)
after I added the shooterLimiter I couldn't see the missiles, although I double-checked the code and it was exactly the same is in the screenshot. Any help :)?
Under rating threshold (hideshow)
When you are holding space you cannot move diagonally in any direction other than up and right...
try it on the test page (page 1) Is there a way to fix this so that my games don't have this sort of problem?
Under rating threshold (hideshow)
I had the same old problem of that the missile wasnt moving once i fired it. after i checked it, i couldnt tell what was wrong.
if you look back to all the responses from people who have had the problem, they all have completely different answers. I suggest you just delete everythnig you have done (including the movie clips) and start this section of the tutorial all over again. by doing this you are sure to make it work. but what i did (because i am lazy) is i just went to step one, and downloaded their finished example. because i i know that if i did it again it would work, and some problem that isnt humanly possible to pick up will be fixed.
Under rating threshold (hideshow)
hmmm... i always get the The class 'Missile' needs to be defined in a file whose relative path is 'Missile.as'.
But thats what I saved it as... any suggestions?
Under rating threshold (hideshow)
I changed my
missile._x = _x + 50;
missile._y = _y + 2;
in the Ship class to
missile._x = _x + 450;
missile._y = _y + 250;
and that got my missiles to fire from the nose of my ship
idk if it will work for you but it worked for me ^_^
Under rating threshold (hideshow)
If everything is "fine" but the missile won't shoot, check this:
Go to library/missile properties and make it so that it gets exported on frame 1. Otherwise it won't work no matter what you do (command-wise) =x
Under rating threshold (hideshow)
How do I shot missile?
Seriously, though, I can't find anything wrong! I checked 'missle' verus 'missile' and everything...
Actionscript: http://i305.photobucket.com/albums/nn216/Avrohead/Hackeys%20Stuff/as.jpg
Under rating threshold (hideshow)
For those of you who are having trouble making the missile move, and have looked at almost everything like me. This is the problem. When you made the actual missile movie clip, you probably named the class missle like I did. Simply click on the game.as file, then click on Library. After that right click on Missle and click Properties. From there make sure all the Missiles are as so, and not Missles
Under rating threshold (hideshow)
that's odd i copied exactly what they said for missle and didn't move. I deleted everything and copied it again and it worked -- I must've not caught my mistake
Under rating threshold (hideshow)
I had the issue that Kamoil had. After looking through my Missile.as code, I realised I had if(_x < 600) instead of if(_x > 600).
Under rating threshold (hideshow)
If you cannot get get your missile to move(it just sits there when it's fired then there's an error in your missile.as actionscript) it should read as follows
function onEnterFrame()
{
_x = _x + velocity;
if(_x > 600)
{
this.removeMovieClip();
}
}
The problem I had is that I forgot to capitalize Frame in the code onEnterFrame. punctuation is very important and remember to capitalise when you can and double check your code!
Under rating threshold (hideshow)
I have made everything work EXCEPT the missiles arent moving the apear on the scren but just stay there, could anyone help me with that ? reply as fast as possible!
Under rating threshold (hideshow)
For those of you having trouble getting your ship to move after you update all the codes near the end of the tutorial. I found that I made the same mistake... What you need to do is look over your ship code. You will see that you have accidently created 2 of both var lines and 2 of both function lines at the top of the page... Go to the end of the tutorial, click on the image, and fix your code to look like the image and youll be up and running again...
Under rating threshold (hideshow)
Ay yeh I will make a spaceship game with my char from my game "Monster invested!", is that ok but I will need help with it cuz 2 other of my monster invested versions have blank screens and I don't want that so reply the stuff I NEED TO do to prevent that happening
Under rating threshold (hideshow)
A question: everything works but i still dont understand how the missile spawn in the middle of the ship only because i put _x How does Action Script know that _x = ship position?
Under rating threshold (hideshow)
If you can't move up-left and shoot at the same time, it's a keyboard problem, and there's absolutely nothing you can do about it. i've had the problem for 3 years now, and 'tis simply that the keyboard does not respond to that key pattern.
there are others that it won't respond to as well.
Under rating threshold (hideshow)
If the missiles aren't moving you need to check everything in your Missile.as file, and you need to check the missile symbol is registered as a Missile.