Im making an action game in a 2d environment with 2d characters. The charcter(man), holding a gun, is all one image or sprite. So I use the page flipping method in directdraw to animated him walking. Im having problem as how would I make him shoot a bullet from the tip of the nozzle of the gun. Because the gun keeps moving and is not in the same place everytime. Is there a way to get its x,y coordinate?