Pygame

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Pygame
Pygame logo.png
Developer(s) Pygame Community
Stable release 1.9.1 / 2009 August
Operating system Cross-platform
Type API
License GNU Lesser General Public License
Website http://www.pygame.org

Pygame is a cross-platform set of Python modules designed for writing video games. It includes computer graphics and sound libraries designed to be used with the Python programming language. It is built over the Simple DirectMedia Layer (SDL) library, with the intention of allowing real-time computer game development without the low-level mechanics of the C programming language and its derivatives. This is based on the assumption that the most expensive functions inside games (mainly the graphics part) can be completely abstracted from the game logic in itself, making it possible to use a high-level programming language like Python to structure the game.

Pygame was built to replace pySDL after its sudden death.[1] Pygame was originally written by Pete Shinners and is released under the open source free software GNU Lesser General Public License. It is a community project since around 2004/2005. There are many tutorials[2][3][4][5][6] and there was an ongoing competition to write little games[7].

Contents

[edit] Games using Pygame

[edit] Literature

[edit] See also

2D Engines and Libraries:

  • Pygame Utilities (PGU) is a collection of tools and libraries that enhance Pygame. Tools include a tile editor and a level editor (tile, isometric, hexagonal). GUI enhancements include full featured gui, html rendering, document layout, and text rendering. The libraries include a sprite and tile engine (tile, isometric, hexagonal), a state engine, a timer, and a high score system.
  • Pyglet is an OpenGL-based software library used in developing games and other visually rich applications using the object-oriented language Python.
  • MirthKit is a simple toolkit for making and distributing open source, cross-platform 2D games.

[edit] References

  1. ^ Libregamewiki's article on Pygame
  2. ^ An Introduction to Python Game Programming - written by Rene Dudfield and Geoff Howland
  3. ^ Line by line tutorial — Tutorial for beginners by Pete Shinners.
  4. ^ Creating Games with Python - A tutorial explaining how to use Pygame for game development and improved execution.
  5. ^ PyGame Tutorials - tutorials with OOP approach.
  6. ^ pyGame Basics and Arinoid tutorials video tutorials at showmedo
  7. ^ Pyweek homepage — regular contest (Pyweek) to write a game during one week using Python (most entries use pygame).
  8. ^ "Dangerous High School Girls in Trouble!". Pygame.org. http://pygame.org/project-Dangerous+High+School+Girls+in+Trouble!-791-.html. Retrieved 8 July 2011. 

[edit] External links

Personal tools
Namespaces
Variants
Actions
Navigation
Interaction
Toolbox
Print/export
Languages