[AS2] side scroller game code problem
i have a side scolling tank game i am building and need the bullet to fire from the end of the gun barrel. The problem is that the barrel rotates up or down depending on the _y that the mouse is centered. How do I get the bullet to follow the barrels rotation until after you fire? i can get it to follow the barrel now but after I fire the bullet, the bullet will still follow the mouse, so in essence moves up and down the screen when you move the mouse....
Any suggestions?
|