Hello I am new to pygame and I am trying to write a shmup game. However I am always having this error:
TypeError: add() argument after * must be an it
You're passing the pos and the angle to the __init__ method of pygame.sprite.Sprite here,
pos
angle
__init__
pygame.sprite.Sprite
super(Bullets,self).__init__(pos,angle)
but you can only pass sprite groups to which this sprite instance will be added. So just remove those arguments:
super(Bullets,self).__init__()