Hi, I’m just tinkering with a platform game, with similar shooting to heli attack 3. I’m having trouble getting the bullet to appear at the barrel of the gun when I click. I had the bullet doing this before, except it was inside a few movieclips, and they rotated, and when they did so, the bullet would change even though it had been fired. I tried calculating the position based on the distance bewteen the vertex of the movie clip that rotates and the end of the gun, and tried to have the appropriate x and y changes based on the angle that the gun was rotated to, however the x and y position of the movie clip was calculated based on the top left corner. I’ve attached my .fla, hopefulyl somone can give me some advice. thanks.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Problem with bullet placement | 0 | 80 | April 14, 2006 | |
[FMX] _rotation problem | 2 | 49 | May 19, 2003 | |
Shooting Bullets at the Mouse | 8 | 95 | April 3, 2006 | |
Need help with attaching movieclips for a gun | 2 | 89 | June 29, 2008 | |
Help With X & Y for Bullet | 0 | 315 | April 11, 2014 |