import pygame, sys #General setup pygame.init() clock = pygame.time.Clock() #Create Display Surface screen = pygame.display.set_mode((800,800)) second_surface = pygame.Surface(([100,200])) second_surface.fill((0,255,0)) frog = pygame.image.load('W:\\12\levi.mitchell\Programming\Practice\DGT 2\Pygame Tutorials\\attack_1.png') frog_rect = frog.get_rect(topleft = [100,200]) #Closing the game while True: for event in pygame.event.get(): if event.type == pygame.QUIT: pygame.quit() sys.exit() #Drawing (making code visable to user) screen.fill((255,255,255)) screen.blit(second_surface,(0,50)) screen.blit(frog,frog_rect) frog_rect.right += 5 pygame.display.flip() clock.tick(60)