Pygame 简明教程

Pygame Tutorial

Pygame 是一个流行的 Python 库,用于开发视频游戏。它是围绕 Simple DirectMedia Library (SDL) 的免费、开放源代码和跨平台包装器。Pygame 提供的 SDL 函数抽象使得使用 Python 开发多媒体应用程序非常容易。

Pygame is a popular Python library used for developing video games. It is free, open source and cross-platform wrapper around Simple DirectMedia Library (SDL). Abstraction of SDL functions provided by Pygame makes development of multi-media applications using Python very easy.

Audience

本教程专为希望使用 Python 编程语言开发视频游戏的软件程序员而设计。

This tutorial is designed for software programmers who want to develop video games using Python Programming language.

Prerequisites

在继续学习本教程之前,你需要对 Python 编程语言有基本了解,并且理解待开发的游戏也至关重要。

Before proceeding with this tutorial, you need a basic knowledge on Python Programming language, and an understanding of the game that is to be developed is also essential.