Python Pygame doesn't display images correctly

北城以北 提交于 2019-12-02 03:35:57

I presume you are on a Mac, with a relatively new version of SDL. The issue is not with your code, but newer versions of SDL having a bug with Mac OS.

To resolve, you either need to downgrade your SDL to a version prior to around version 1.2 (it's around there, forgot the exact version), or work on a different operating system.

It's very annoying.. I ended up installing virtualbox and running Linux on my Mac just to be able to code pygame!

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!