|Original author(s)||Pete Shinners|
|Initial release||28 October 2000|
1.9.1 / 6 August 2009
|Written in||Python, C, and Assembly|
|License||GNU Lesser General Public License|
Pygame was originally written by Pete Shinners to replace PySDL after its development stalled.[not in citation given] It has been a community project since 2004 or 2005[which?] and is released under the open source free software GNU Lesser General Public License.
Architecture and features
Pygame 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 abstracted from the game logic, making it possible to use a high-level programming language, such as Python, to structure the game.
Pygame applications can run on Android phones and tablets with the use of Pygame Subset for Android (pgs4a). Sound, vibration, keyboard, and accelerometer are supported on Android. There is no way to run Pygame applications on iOS.[original research?] Another major limitation of pgs4a is the lack of multi-touch support, which prevents the use of things like pinch to zoom and two-finger rotation. An alternative to using Pygame is to use the Kivy library, which includes multi-touch and iOS support.
There are regular competitions, called PyWeek, to write games using Python (and usually but not necessarily, Pygame).[non-primary source needed] The community created many tutorials for Pygame.[original research?]
Notable games using Pygame
- PySDL2, a wrapper around the SDL2 library similar to the discontinued PySDL project
- Shinners, Pete. "Python Pygame Introduction - History".
- "Downloads - Pygame - Python game development".
- "About Pygame".
- "pySDL sourceforge page".
- http://pygame.renpy.org/api.html[dead link]
- "PyWeek - Python Game Programming Challenge".
- "Dangerous High School Girls in Trouble!". Pygame.org. Retrieved 8 July 2011.
- "Save the Date". Paperdino.com. Retrieved 14 October 2014.
- Making Games With Python & Pygame—A CC-by-nc-sa-licensed book that introduces programming and game development with Python and Pygame.
- 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.