pygame經常使用知識點

主框架 import sys import pygame pygame.init() screen = pygame.display.set_mode((400, 300)) #元組賦予窗口大小 #screen具備了pygame.display.set_mode全部的屬性方法 pygame.display.set_caption('Gluttonous snake') while True:
相關文章
相關標籤/搜索