It's not correct put mouse position there in bullet angle of motion. Put angle as an input by calculating angle between player and mouse position. Set it like Angle(player.X, player.Y, mouse.X, mouse.Y) or reverse Angle(mouse.X, mouse.Y, player.X, player.Y).