2024-10-01 00:14:05 发布
网友
screen = pygame.display.mode([1000, 600]) clock = pygame.time.Clock() p1x = 10 p1y = 250 p1score = 0 p2x = 950 p2y = 250 p2score = 0
AttributeError:“module”对象没有属性“mode”
方法为set U模式。所以把第一行改成:
screen = pygame.display.set_mode([1000, 600])
方法为set U模式。所以把第一行改成:
相关问题 更多 >
编程相关推荐