promblem simply is that not all bullets are deleted…
function MoveBullets() {
for(c=BulletsDeleted-10 ; c<BulletCount ; c++) {
_root["b"+c]._x += _root["bo"+c].dirx
_root["b"+c]._y += _root["bo"+c].diry
if(_root["bo"+c].movesleft > 0) {
_root["bo"+c].movesleft--
} else {
_root["b"+c].removeMovieClip()
BulletsDeleted++
}
}
}
setInterval(MoveBullets,10)
i cant see whats wrong with my function
bo = bulletobject