版本3和4间的区别
于2006-09-01 12:58:41修订的的版本3
大小: 2050
编辑: czk
备注:
于2006-09-02 11:08:02修订的的版本4
大小: 2005
编辑: czk
备注:
删除的内容标记成这样。 加入的内容标记成这样。
行号 1: 行号 1:
在这里详述 Python游戏设计基础/第6讲:Pygame介绍. [[TableOfContents]]

TableOfContents

pygame概述

pygame是一组用于编写游戏的模块的集合。pygame是构筑在SDL库的基础上的,它使我们能够用Python语言来创建功能完整的游戏和多媒体程序。pygame是高度可移植的,几乎可以在任何平台和操作系统上运行。

pygame是自由、免费的,以LGPL协议发布。你可以用它来创建开源、自由、免费、共享或者商业游戏。

pygame的安装

  • You should definitely begin by installing a binary package for your system. The binary packages usually come with or give the information needed for dependencies. Choose an appropriate installer for your system and version of python from the pygame downloads page. http://www.pygame.org/download.shtml Installing from source is fairly automated. The most work will involve compiling and installing all the pygame dependencies. Once that is done run the "setup.py" script which will attempt to auto-configure, build, and install pygame. Much more information about installing and compiling is available in the install.html file.

If you are just getting started with pygame, you should be able to get started fairly quickly. Pygame comes with many tutorials and introductions. There is also full reference documentation for the entire library. Browse the documentation from the documenantation index. docs/index.html.

On the pygame website, there is also an online copy of this documentation. You should know that the online documentation stays up to date with the development version of pygame in cvs. This may be a bit newer than the version of pygame you are using.

Best of all the examples directory has many playable small programs which can get started playing with the code right away.

pygame游戏的编辑和运行

http://www.pygame.org/readme.html

http://www.pygame.org/install.html

http://www.pygame.org/docs/tut/intro/intro.html

http://www.pygame.org/docs/tut/ImportInit.html

Pygame起步 (2010-01-29 16:48:28由s235-200编辑)

ch3n2k.com | Copyright (c) 2004-2020 czk.