摘要: 1 import pygame 2 pygame.init() 3 screen = pygame.display.set_mode((640,480)) 4 screen.fill((151, 255, 255)) 5 pygame.display.flip() 阅读全文
posted @ 2018-05-13 11:04 夕雨714 阅读(193) 评论(0) 推荐(0) 编辑
摘要: 1 import pygame 2 pygame.init() 3 screen = pygame.display.set_mode((640,480)) 4 # ------- background --------- 5 background = pygame.Surface(screen.get_size()) 6 background.fill((255, 155, 155)) ... 阅读全文
posted @ 2018-05-13 10:42 夕雨714 阅读(2113) 评论(0) 推荐(0) 编辑