pygame的三个方法(屏幕上显示需要的图片)

1. 加载图片

pygame.image.load()

2.绘制图片

screen.blit(变量,(0,0)#位置)

3.更新屏幕的显示

pygame.display.update()   

猜你喜欢

转载自blog.csdn.net/yuhu1023/article/details/85034804