import pygame import pygame.locals pygame.init() screen_width = 800 screen_height = 800 screen = pygame.display.set_mode((screen_width, screen_height)) pygame.display.set_caption('Platformer') #load images sun_img = pygame.image.load('img/sun.png') bg_img = pygame.image.load('sky.png') run = True while run: screen.blit(bg_img, (0, 0)) screen.blit(sun_img, (100, 100)) for event in pygame.event.get(): if event.type == pygame.quit: run = False pygame.display.update() pygame.quit