Under rating threshold (hideshow)
I'm having trouble getting explode() working properly. For some reason the line "this.removeMovieClip();" does not work for me.
The function is being called though, I added a trace function in there, and that's working just fine, so it's with removing the MC.
Is anyone else having this trouble?
Under rating threshold (hideshow)
@Hoagy select the movieclip and across the bottom of the library there is a circle with an 'i' in it, it brings up the properties menu.
Under rating threshold (hideshow)
I just completed part 9 and when i tested the movie it comes up saying that more than 256 levels of recursion were exceeded on one action list
Under rating threshold (hideshow)
Sorry i was being silly and it is in SH_05 and in the library in that fla.
Double check there if anyone else is having trouble.
Under rating threshold (hideshow)
I have the same problem as andyyoyeryea.
The download does not contain the explosion art?
Please can someone help me? Thanks
Under rating threshold (hideshow)
master54100 and DrPerson:
you have to change the names so the class Ship is different from the instance ship (capital letter and not)
Under rating threshold (hideshow)
when i name the ship instance ship (as per page 2) everything stops working my enemies stop appearing my ship wont move or shoot the only thing that works is the background. is this normal?
Under rating threshold (hideshow)
I have an EnemyMissile movie clip and I've checked and rechecked the code but my enemies aren't firing. I'm using MX 2004, if it matters...
Under rating threshold (hideshow)
Ah yes thanks, I took a capital off of it, and now it works. (Odd, I made the symbols Identifyer in capital though...).
Under rating threshold (hideshow)
I have the same problem as Tusk, everything is fine, no errors, but something in my code is making 100000's of enemies spawn. Help anyone?
Under rating threshold (hideshow)
I'd like some help here. My enemies arent being destroyed. I'm at step 4 and double-checked the capitals and stuff. Any1 got some advice?
Under rating threshold (hideshow)
I have a problem, that there're a lots of enemy ships. They invading the whole right screen then they're moving to right. I tried to replace the whole .as files one-by-one but nothing changed :/
Under rating threshold (hideshow)
I finished step #4, but instead of my enemies flying and being destroyed on touch, my character won't move and the enemies won't spawn! What happened?
Under rating threshold (hideshow)
Maybe you didnt tell the enemy ship to run the explosion function when it hits, or maybe the missile is so small your missing, or maybe you never put the collision detectin code in
Under rating threshold (hideshow)
just found out something...the text that we are able to copy on page 13 has Math.random()*300 which is not Math.random()*250+50 which was what they adviced us to use
Under rating threshold (hideshow)
if it helps this only happens when i shoot... the enemies can shoot, i can crash into them, the explosion happens, i can move but as soon as i shoot it comes up with that errror...
Under rating threshold (hideshow)
Please help...
whenever i shoot a ship i get an error saying
256 levels of recursion were exceeded in one action list.
This is probably an infinite loop.
Further execution of actions has been disabled in this movie.
please help... :S
Under rating threshold (hideshow)
The code as-is has a bit of a memory leak. Since you put the enemy ships into the enemies array, but never take them out after they're destroyed, the enemies array gets larger and larger.
The way to remedy this: when removing an enemy ship within the EnemyShip class, insert the following code:
for (var i=0; i < enemies.length; i++) {
if (this == enemies[i]) {
enemies.splice(i,1);
break;
}
}
This will find where in the array the particular enemy ship is and remove it.
Under rating threshold (hideshow)
Great Tutorial again! 5/5 But the missing step of adding the EnemyMissile Movie Clip does through people off (Thanks guys for mentioning it in the comments.) When you get to step 11 Create another another Movie Clip called EnemyMissile just like you created the Missile Clip in a previous tutorial and the enemies will shoot.
Under rating threshold (hideshow)
My movie is not working properly, after shooting a ship the explosion appears, but won't go away. The thin air keeps exploding :O
Under rating threshold (hideshow)
To add the EnemyMissile clip to the library:
1. Right click the Missile object in the library and choose Copy.
2. Right click the Missile object in the library, choose Rename, and call it EnemyMissile.
3. Right click anywhere in the library and choose Paste.
4. Right click the EnemyMissile object and choose Linkage.
5. Rename the Class and Identifier to EnemyMissile and click OK.
Under rating threshold (hideshow)
Finally it's out. I love these things. I'm gonna upload mine for the contest. Also, just because it's about to get pushed off the page:
Echoing a concern: askovitch Developer_icon Levelbug21 Oct. 28, 2008 YOU MISSED A STEP OUT!! you need to make an EnemyMissile movieclip first. for everyone who is stuck here, download the source thingy, go into library and find EnemyMissile movieclip. copy it like with the explosion clip and paste into your library.
Under rating threshold (hideshow)
wonder when you show those noobs that spam this page with stupid "games/animations" how to put their clothes on and brush their theeth...