pygame常用函数 pygame.image.load('path') #加载图片 object.get_rect() #获得surface的rect属性 object.centerx/y() object.x/y()