Im making a game that uses clicking to shoot, and I made a movieclip called bullet1, and the player man. The code I used was:
onMouseDown = function() {
attachMovie(Bullet,bullet1,depth++)
_bullet1._x = ( man._x - 60)
_bullet1._y = ( man._y )
}
This doesn’t seem to work. What I am trying to do is when I click, a bullet appears, and it fires at the certain direction. I got the code down for the bullet moving but this simple part isnt working. Any help? (sorry if i wasnt precise enough)