running Python 3.3.0 with pygame '1.9.2pre', following a tutorial, new to python, honestly cant see where i've gone wrong, looks the same as on the tutorial, however it is 4 years old. Thanks for help!
I get error - unsupported image format for both. I've tried jpg and png, the version spec says it supports them both.
bif ="bg.jpg"mif ="man.jpg"import pygame, sysfrom pygame.locals import *pygame.init()screen = pygame.display.set_mode((1100,750),0,32)background = pygame.image.load(bif).convert()mouse_c = pygame.image.load(mif).convert_alpha()Running = Truewhile Running: for event in pygame.event.get(): if event.type == QUIT: pygame.quit() Running = False sys.exit() break screen.blit(background,(0,0)) x,y = pygame.mouse.get_pos() x -= mouse_r.get_width()/2 y -= mouse_r.get_height()/2 screen.blit(mouse_r,(x,y)) pygame.display.update()