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?)
Under rating threshold (hideshow)
A very simple error I made om my EnemyShip class was placing a } bracket in the wrong area. It gave me the error message: "ActionScript 2.0 class scripts may only define class or interface constructs."
I made a similar mistake with my Ship class and got the error: "This statement is not permitted in a class definition." This also made my ship unable to be moved by my keyboard.
So if you got either of those errors check to make sure your } brackets are in the correct spaces. Otherwise the program has been very simple to use so far, onto #5!
Under rating threshold (hideshow)
I'm trying to give the ships a vertical speed.
I put in the as file "var yspeed"
in the "function onLoad()" i typed "yspeed = random(1) - 0.5"
in the "function onEnterFrame()" i typed "_y += yspeed;"
but the "yspeed" seems to be always the same on every ship, every time i test the swf. Howewer, the "speed" is different every time.
Any help on how to fix it?
Under rating threshold (hideshow)
If it is tuck in the corner try adding "extends MovieClip" after class Enemyship
mine works except i have a white background
Under rating threshold (hideshow)
o yea, if you are having trouble with "unable to read the class or interface of "Whatever"", MAKE SURE THE FILE YOU SAVE IT AS IS THE SAME NAME AS THE CLASS!!! :3
Under rating threshold (hideshow)
I says something about being unable to read the class or interface of "Enemy Ship". I cant translate exactly cos my flash is in polish : p
Under rating threshold (hideshow)
A Most useful tutorial, It was helpful just like the other parts. Thankfully i had no troubles getting it to work the first attempt.
Under rating threshold (hideshow)
My ship won't move the backround won't scroll and I can't shoot missiles oh, and I have no enemy ships showing up, could it get worse?
Under rating threshold (hideshow)
These tutorials are amazing. They actually teach you. I have already finished my first game. See it at http://www.kongregate.com/games/rosslyn568/planet-defender ---- anyway, great tut. 5/5
Under rating threshold (hideshow)
Great tutorial it work even though i had a problem where there spawned ships constantly and there was like thousands ships on the schene
Under rating threshold (hideshow)
I did everything exactly as the tutorial said, but no enemy ships are appearing, im not getting an action script error either.
Under rating threshold (hideshow)
help my enemyship do appear but in the left corner i looked everywere and the only thing is that it cant load the enemyship
Under rating threshold (hideshow)
The class 'EnemyShip' needs to be defined in a file whose relative path is 'EnemyShip.as'.
i'm having this problem with making the enemyship appear, it wont load because of the above error.
i've retyped/copied everything several times.
Please help
Under rating threshold (hideshow)
Hint: if you don't give the same name to something and you paste some text, make sure you change ALL the words that you have to.
Under rating threshold (hideshow)
i got this far n its taken me hours its just if something does not work just delet n repet thats wht i do n it always gets me through :D
Under rating threshold (hideshow)
help. Its been fine up to this point, then suddenly its saying everything that contains "extends MovieClip" is a syntax error. any hints? cuz i'm stuck.
Under rating threshold (hideshow)
For having different kinds of enemies spawn. Try just making another actionscript file with the same coding and such, it would just have like a different instance name. Such as EnemyShip and EnemyShip1.