import pygame, sys, class Player(pygame.sprite.Sprite): def __init__(self, picture_path): super().__init__() self.image = pygame.Surface((100,100)) self.image.fill((255,255,255)) self.rect = self.image.get_rect(center = (screen_width/2,screen_height/2))