Pygame

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by InternetArchiveBot (talk | contribs) at 01:39, 12 November 2016 (Rescuing 3 sources and tagging 0 as dead. #IABot (v1.2.7.1)). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Original author(s)Pete Shinners
Developer(s)Pygame Community
Initial release28 October 2000; 23 years ago (2000-10-28)[1][2]
Stable release
1.9.1 / 6 August 2009; 14 years ago (2009-08-06)
Preview release
Repository
Written inPython, C, and Assembly[3]
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.

History

Pygame was originally written by Pete Shinners to replace PySDL after its development stalled.[4][failed verification] 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.[citation needed]

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.[citation needed]

Pygame applications can run on Android phones and tablets with the use of Pygame Subset for Android (pgs4a).[5] Sound, vibration, keyboard, and accelerometer are supported on Android.[6] 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.[citation needed] An alternative to using Pygame is to use the Kivy library, which includes multi-touch and iOS support.[7]

Community

There are regular competitions, called PyWeek, to write games using Python (and usually but not necessarily, Pygame).[8][non-primary source needed] The community created many tutorials for Pygame.[original research?]

Notable games using Pygame

See also

References

  1. ^ Shinners, Pete. "Python Pygame Introduction - History".
  2. ^ "Downloads - Pygame - Python game development".
  3. ^ "About Pygame".
  4. ^ "pySDL sourceforge page".
  5. ^ http://pygame.renpy.org/
  6. ^ "Archived copy". Archived from the original on 2014-10-19. Retrieved 2014-10-14. {{cite web}}: Unknown parameter |deadurl= ignored (|url-status= suggested) (help)CS1 maint: archived copy as title (link)
  7. ^ http://kivy.org/
  8. ^ "PyWeek - Python Game Programming Challenge".
  9. ^ "Dangerous High School Girls in Trouble!". Pygame.org. Retrieved 8 July 2011.
  10. ^ "Save the Date". Paperdino.com. Retrieved 14 October 2014.
  11. ^ "Archived copy". Archived from the original on 2014-09-28. Retrieved 2014-10-14. {{cite web}}: Unknown parameter |deadurl= ignored (|url-status= suggested) (help)CS1 maint: archived copy as title (link)

Further reading

External links