Relative Content

Tag Archive for pythonpython-3.xsocketspygame

Pygame, sending image through pickle

Am making a multiplayer game using python and the library pygame but am getting this error while trying to send information to the second player. Which is that pickle doesn’t allow to be sent a object of type pygame.surface.Surface. I have to convert it so it becomes readable to pickle but i dont know how.