У меня есть список изображений, которые должны быть расположены в центре экрана.
def relocate_images(self, images):
for image in images:
print('the center is ' + str(image.get_rect().center))
x_diff = int(self.width/2) - image.get_rect().x #self.width is the width of the screen
y_diff = int(self.height/2) - image.get_rect().y #self.height is the height of the screen
image.get_rect().move(x_diff, y_diff)
print('the center is ' + str(image.get_rect().center))
Центры, отображаемые на экране, совпадают.Значит, значение не подписано на изображение?