Pygame

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 50.53.15.51 (talk) at 15:38, 24 November 2012 (→‎See also: Cocos2d; also originally a Python-based game engine which used pyglet but now ported to several other platforms). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Pygame
Developer(s)Pygame Community
Stable release
1.9.1 / 2009 August
Repository
Written inPython and SDL
Operating systemCross-platform
TypeAPI
LicenseGNU Lesser General Public License
Websitewww.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 development stalled.[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 are regular competitions to write little games using Python (and usually but not necessarily, Pygame).[7]

Games using Pygame

Literature

See also

References

  1. ^ Libregamewiki's article on PygamepySDL sourceforge page
  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. Retrieved 8 July 2011.

External links

Template:Open source video games