On Tue, Feb 21, 2012 at 02:47, [email protected] <[email protected]> wrote: > We're having a problem with the code below, which is returning this error:
> player = Player('Player.png', [10,10], [50, 50])
> monster = Monster('Monster.png', [7,5], [7,5])
> MGroup = pygame.sprite.Group(monster)
> PGroup = pygame.sprite.Group(player)
You want to pass iterables here:
MGroup = pygame.sprite.Group([monster])
PGroup = pygame.sprite.Group([player])
