Space Shooting Game

I have sucsessfully created a ship that shoots and an enemy that moves at the ship. The problem I have is when the the bullet that is shot hits the enemy, the enemy wont explode and/or disapear. If anybody could help me with this, please tell me! Thanks a lot!!!

you’re footer needs to be smaller champ. 300 width by 60 height. check out this thread for the footer rules: http://www.kirupaforum.com/forums/showthread.php?s=&threadid=12

oh, and check out ‘hitTest()’ there is a tutorial on this site somewhere… try the search feature at the top of the page…

http://www.kirupa.com/developer/actionscript/hittest.htm

[AS]
// Place this in your enemy ship actions

if(this.hitTest(_root.bullet._x, _root.bullet._y, TRUE)
{
this.gotoAndPlay(“explosion”);
}
[/AS]

There ya go champion :slight_smile:

playamarz :player: