How can I drag more than 2 images in PyGame?
问题 i have this code but i wanna make this with other 4 images? import pygame from pygame.locals import * pygame.display.init() screen = pygame.display.set_mode((1143,677 )) img = pygame.image.load(r"C:\Users\ga-sa\Downloads\As.png") img1 = pygame.image.load(r"C:\Users\ga-sa\Downloads\03.png") imgPos = img.get_rect(topleft = (20, 20)) imgPos1 = img1.get_rect(topleft = (60, 20)) current_image = None LeftButton = 0 while 1: for e in pygame.event.get(): if e.type == QUIT: pygame.quit() exit(0) if e