import pygame
import sys
def main():
#初始化
pygame.init()
pygame.display.set_caption("my little game")
#创建屏幕 240*180
screen = pygame.display.set_mode((1024,768))
screen.fill((255,255,255))
imagel_1 = pygame.image.load("C:\\Users\\Administrator\\Desktop\\python-lianxi\\move_game\\one.jpg")
imagel_2 = pygame.image.load("C:\\Users\\Administrator\\Desktop\\python-lianxi\\move_game\\two.jpg")
imagel_3 = pygame.image.load("C:\\Users\\Administrator\\Desktop\\python-lianxi\\move_game\\three.jpg")
imagel_4 = pygame.image.load("C:\\Users\\Administrator\\Desktop\\python-lianxi\\move_game\\four.jpg")
#缩小到50*50
imagel_1 = pygame.transform.scale(imagel_1,(50,50))
imagel_2 = pygame.transform.scale(imagel_2,(50,50))
imagel_3 = pygame.transform.scale(imagel_3,(50,50))