Under rating threshold (hideshow)
Does anyone know why I keep getting an error message whewn I try to publish it? It says The class or interface 'EnemyShip' could not be loaded..
Under rating threshold (hideshow)
If you had the same problem as me, copying the code exactly from the screenshot only to have it result with no enemy ships and no control over your own ship, add an extra '{' bracket to the bottom of the code.
Under rating threshold (hideshow)
When I load my project everything works, except that there are hundreds of enemy ships rather than just a few, I don't know what I have done wrong. Please help me.
Under rating threshold (hideshow)
Never mind, I found it 2 minutes after I posted this comment. For anybody who knows where to place the code _y = Math.random()*200 + 50; you place it in this section.... -> function onLoad()
{
_x = 700;
_y = Math.random() * 200 + 50;
speed = Math.random() * 5 + 5;
}
on the enemy ships code
Under rating threshold (hideshow)
yeah... this sucks you have to like download and its not even good when you HAVE DOWLOADED so what do you think? and there comes VIRUSES when you download this game. So this is my favourite game ... ):
Under rating threshold (hideshow)
nvm, fixed it but, what if i want to add different enemies, but dnt want them to come out at the same time, i want the enemy timer to add either the enemy ships or the other enemy, how i do that?
Under rating threshold (hideshow)
Odd the enemy works when i place one on screen which means its the coding for one apearing at random which is faulty...
Under rating threshold (hideshow)
EASIEST SHOOTORIAL SO FAR... who new that flash was so simple yet powerful?? i mean it's all just logic and problem solving... just my kind of work. YES FLASH!
Under rating threshold (hideshow)
If you would want to use ASDW movement i would assume you would change the code in your ship.as file's if statement, when its stating which key is being pushed. Maybe Try if(Key.IsDown(Key.W)etc...)
Under rating threshold (hideshow)
Hey everyone! If anyone here wants to convert AS2 code to AS3 I set up a quick guide on how to do it. This uses old code that you wont want in newer projects but the site I set up will explain how to use it! http://codingflashfast.webs.com/
This should help everyone who needs this in AS3!
Under rating threshold (hideshow)
I'm trying to implement my own idea for a game, but I came across a problem. How can I make the _y of one movie clip be dependent upon the _y of another? Say i wanted two enemy ships at a time at 100 pixels apart every time, how could I do that?
Under rating threshold (hideshow)
You may think not, but this tutorial is VERY good. It teachs how to move a MovieClip, how to spawn bullets and stuff, how to create variables and play with them, basic drawing, and so much. 5/5
Under rating threshold (hideshow)
I couldn't find any error in my code, however, when I tested it, a lot of enemy ships appear at the same time. Could someone help me?
Under rating threshold (hideshow)
-_-; i dont know why but my enemy ship always spawns top left. and an error "Symbol=EnemyShip, layer=Layer 1, frame=1, Line 1 The class or interface 'EnemyShip' could not be loaded."
im running CS5.5 on a windows vista.
Under rating threshold (hideshow)
Forget my other comment. Just go to library, click on "EnemyShip" (should already be there) and delete it. Hope it helps
Under rating threshold (hideshow)
I had this problem when I went to convert the first ship to symbol, but it fixed itself. Now when I try and convert EnemyShip to movie clip it says "The name 'EnemyShip' is already taken. Please choose a different name." Help?
Under rating threshold (hideshow)
hey guys im getting this error: This statement is not permitted in a class definition. for this source:if(enemyTimer > 60)
and the same error for this source:enemyTimer += 1;
plz help, wat should i do? i followed the instructions from the tut exactly, copy and paste... :)
Under rating threshold (hideshow)
typo on page 2 ?? last sentance "but we dont need ay enemy ships on stage..." hopefully have my own game done in a few months .. i doing a game development course at college too xD
Under rating threshold (hideshow)
I have all the codes right, as far as I know, but when I test it, the ships just appear in random places for a split second and disappear, it never stops... How do I fix this?
Under rating threshold (hideshow)
Hey guys I copied everything and all. But the enemy sprites don't appear on the right side of the screen. Help please... and thanks in advance!
Under rating threshold (hideshow)
xD on the part where you make the player create the enemy, i also tested it and went and fixed the enemy ship where it spawns half off the screen. i go to the next step and it tells me to do exactly what i did
Under rating threshold (hideshow)
@boometh: had the same problem with my missiles in shootorial 3. however when i'd completely finished that shootorial i just deleted the missile and then the layer the missile was in and it still worked.. not sure if this will help in your case but it's worth a try...
Under rating threshold (hideshow)
i cant get any enemy ships to come no matter what i do. it shows zero errors and i looked at the picture of what my ship file should look like and it looks the same but no enemy ships will come still. could someone post what the ship file should look like at the end of this shootorial?
Under rating threshold (hideshow)
I think i found a mistake on page 6... if you say the Limiter has to be OVER 60 you would spawn an enemy every 61th Frame.... so it would be slightly more then 2 Seconds (or am I mistaken?)