screen = pygame.display.set_mode((config.WINDOW_WIDTH, config.WINDOW_HEIGHT)) # use constants from config # optional parameters MUST be written at the end of your function's parameter list def ...
You can get some of this info from the text that pops up in the console when you run a pygame program. import pygame pygame.init() screen = pygame.display.set_mode((1280, 720)) a1 = [ [501.66682333, ...