its easy just do a hitTest that works in the opposite dirrection. for example:
function onEnterFrame() {
if(this.hitTest(_root.ship)) {
_root.ship._x -= 5;
}
}
I am having a problem, I looked everywhere. I followed the tutorial as close as possible. and for some reason, the EnemyShip's wont appear at all. Does anyone have an idea to what my problem is?