I am trying to understand the way that pixelperfect collisions works, I have made a program using two circles(images) bouncing around in the pygame window. This is the script:
Code:
import pygame, importedfunctions, random
pygame.init()
clock = pygame.time.Clock()
screen = pygame.display.set_mode([640,480])
class BallClass(pygame.sprite.Sprite):
    def __init__(self, x,y):
        pygame.sprite.Sprite.__init__(self)
...