@ Islander
I know exactly what your talking about with the bullet problem. For my game in the Works I am using 4 bullet sprites instead of 1. What you have to do is make sure you draw the player sprite before the bullet sprites then line them up one on top of the other like this.
Bullet 1 |
Bullet 2 |
Bullet 3 |
Bullet 4 |
MachineGunSpeed = 20
dim MachineBulletX(4)
MachineBulletX(1) = PlayerX + 26
MachineBulletX(2) = PlayerX + 26
MachineBulletX(3) = PlayerX + 26
MachineBulletX(4) = PlayerX + 26
dim MachineBulletY(4)
MachineBulletY(1) = 400
MachineBulletY(2) = 405
MachineBulletY(3) = 410
MachineBulletY(4) = 415
When the Fire key is pressed you shoot off Bullet #1 then when Bullet 1's Y coordinate is say <= 370 you shoot off Bullet#2 ect.
if ShootMachinegun = 1 then MachineBulletY(1) = MachineBulletY(1) - MachineGunSpeed
if MachineBulletY(1) <= 370 then MachineBulletY(2) = MachineBulletY(2) - MachineGunSpeed
if MachineBulletY(2) <= 340 then MachineBulletY(3) = MachineBulletY(3) - MachineGunSpeed
if MachineBulletY(3) <= 310 then MachineBulletY(4) = MachineBulletY(4) - MachineGunSpeed

http://www.angelfire.com/games5/db_games/