1. 简介 pygame 是基于对 SDL库的python 封装,提供python接口.SDL(Simple DirectMedia Layer) 是一个跨平台的游戏开发库,方便游戏开发和移植.目前最新版本SDL1.2.14. 下载地址:http://www.libsdl.org/download-1.2.php. SDL库作者Sam Lantinga,采用C语言开发.SDL还有perl, erlang, Pango,ruby等语言的封装. pygame 作者是Pete Shinners. 2.…