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:
相关文章
相关标签/搜索