python之游戏开发

在windows下利用pip进行pygame的安装

1.安装pip(点击此链接),将标有[2]的get-pip的文件另存为

https://pip.pypa.io/en/stable/installing/

2.执行命令

 python get-pip.py

3.安装pygame的命令

py -m pip install pygame --user

4.运行简单的案例

py -m pygame.examples.aliens

python的图形库

原创文章 59 获赞 39 访问量 4万+

猜你喜欢

转载自blog.csdn.net/qq_28174951/article/details/79356302