Any way to speed up Python and Pygame?

前端 未结 6 1474
故里飘歌
故里飘歌 2020-12-28 08:37

I am writing a simple top down rpg in Pygame, and I have found that it is quite slow.... Although I am not expecting python or pygame to match the FPS of games made with com

6条回答
  •  不思量自难忘°
    2020-12-28 09:19

    You could try using Psyco (http://psyco.sourceforge.net/introduction.html). It often makes quite a bit of difference.

提交回复
热议问题