Pygame
Developer(s) | Pygame Community |
---|---|
Stable release | 1.9.1
/ 2009 August |
Repository | |
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].
Games using Pygame
Literature
- Game Programming the L Line -- A book that introduces programming and game development with Python and Pygame
- Introduction to Computer Science Using Python and Pygame -- An e-book that introduces programming by using Python and Pygame.
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.
References
- ^ Libregamewiki's article on Pygame
- ^ An Introduction to Python Game Programming - written by Rene Dudfield and Geoff Howland
- ^ Line by line tutorial — Tutorial for beginners by Pete Shinners.
- ^ Creating Games with Python - A tutorial explaining how to use Pygame for game development and improved execution.
- ^ PyGame Tutorials - tutorials with OOP approach.
- ^ pyGame Basics and Arinoid tutorials video tutorials at showmedo
- ^ Pyweek homepage — regular contest (Pyweek) to write a game during one week using Python (most entries use pygame).
- ^ "Dangerous High School Girls in Trouble!". Pygame.org. Retrieved 8 July 2011.
External links
- Pygame homepage — Pygame documentation, wiki, news, download and more.
- Pygame newsgroup (web access) — the "official" Pygame newsgroup, requires registration
- pyOpenGL - Python OpenGL Bindings