# Bullet physics in python and pygame

I am programming a 2D sidescroller in python and pygame and am having trouble making a bullet go farther than just farther than the player. The bullet travels straight to the ground after i fire it. How, in python code using pygame do I make the bullet go farther. If you need code, here is the method that handles the bullet firing:

    self.xv += math.sin(math.radians(self.angle)) * self.attrs['speed']
self.rect.left += self.xv
self.rect.top += self.yv

• This is way too vague, you should post some snippets of code (not the whole program).
– o0'.
Mar 30, 2012 at 15:56