At 10/31/06 04:19 AM, Fion wrote:
Very nice, I like the look of this. Your next thing to work on is shooting in the direction your facing.
Things I'm working on at the moment:
> Pivot issues (getting the character to turn on the spot - done!)
> Enemy AI (move around and die - somewhat done)
> The player bounces off the enemy to kill it
> The player can fire a spell at the enemy to kill it (done)
> The spell must be charged, not just held, to kill it (done)
> Removing an enemy from the level properly (i.e. hit the enemy, it goes to the next frame of it's MC, it plays the death animation... THEN I want it removed from the level... can't figure out how to though)
> The spell fires in the direction the player faces
> And from thereon it's working on things like health, new enemies, etc. Oh, and a new lick of paint, obviously, since the current background and stuff was already used in Four Second Firestorm.
I don't suppose anyone knows why this doesn't work? (Added this code on the enemy MC)
onClipEvent(enterFrame){
if(this.hitTest(_parent.laser.lasercharge) {
this.removeMovieClip;
}
}
Since the level takes place in an MC already, I'm required to use _parent. Other than that, I'm afraid I'm oblivious... heh.