PDA

View Full Version : [AS2] Problem with shooting


IamtheeApocalypse
04-20-2007, 10:21 PM
O.K. well I am making a spaceship type game and when I press space to make my ship shoot it shoots but if I move to the left or right afterwards the bullet will follow the ship any help?

rrh
04-20-2007, 10:29 PM
You are duplicating your lasers inside of the spaceship movie clip.

You could put the lasers outside of the spaceship.

IamtheeApocalypse
04-20-2007, 11:08 PM
O.K. now it dosen't look like it shooting from the ship how do I attatch it to the ship but after it is shot it un attaches

rrh
06-04-2007, 03:14 AM
Sorry I didn't reply sooner.

When you shoot, assign the laser's _x and _y values based on the ship's.