Software:Pygame
Original author(s) | Lenard Lindstrom, René Dudfield, Pete Shinners, Nicholas Dudfield, Thomas Kluyver, and others[1] |
---|---|
Developer(s) | Pygame Community |
Initial release | 28 October 2000[2][3] |
Stable release | 2.5.2
/ 18 September 2023[4] |
Written in | Python, C, Cython, and Assembly[5][6] |
Operating system | Cross-platform |
Type | API |
License | GNU Lesser General Public License |
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.[2][7] It has been a community project since 2000[8] and is released under the free software GNU Lesser General Public License[5] (which "provides for Pygame to be distributed with open source and commercial software"[9]).
Development of Version 2
Pygame version 2 was planned as "Pygame Reloaded" in 2009, but development and maintenance of Pygame completely stopped until the end of 2016 with version 1.9.1. After the release of version 1.9.5 in March 2019, development of a new version 2 was active on the roadmap.[10]
Pygame 2.0 released on 28 October, 2020, on Pygame's 20th birthday.[11]
Features
Pygame uses the Simple DirectMedia Layer (SDL) library,[lower-alpha 1] 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 can be abstracted from the game logic, making it possible to use a high-level programming language, such as Python, to structure the game.[5]
Other features that SDL does have include vector math, collision detection, 2D sprite scene graph management, MIDI support, camera, pixel-array manipulation, transformations, filtering, advanced freetype font support, and drawing.[12]
Applications using Pygame can run on Android phones and tablets with the use of Pygame Subset for Android (pgs4a).[13] Sound, vibration, keyboard, and accelerometer are supported on Android.[14]
Community
There is a regular competition, called PyWeek, to write games using Python (and usually but not necessarily, Pygame).[15][16][17] The community has created many tutorials for Pygame.[18][19][20][21][22]
Notable games using Pygame
- Frets on Fire[23]
- Dangerous High School Girls in Trouble[24]
- Save the Date,[25] IndieCade 2013 Finalist
- Drawn Down Abyss [26]
See also
Notes
References
- ↑ "Contributors to Pygame". GitHub. https://github.com/pygame/pygame/graphs/contributors.
- ↑ 2.0 2.1 Shinners, Pete. "Python Pygame Introduction - History". http://www.pygame.org/docs/tut/PygameIntro.html.
- ↑ "Downloads - Pygame - Python game development". https://pypi.python.org/pypi/Pygame/.
- ↑ "Yet another bug fix release". https://www.pygame.org/news/2023/9/pygame-2-5-2-yet-another-bug-fix-release.
- ↑ 5.0 5.1 5.2 "About Pygame". GitHub. https://www.pygame.org/wiki/about.
- ↑ "GettingStarted". https://www.pygame.org/wiki/GettingStarted.
- ↑ "pySDL sourceforge page". http://sourceforge.net/projects/pysdl/.
- ↑ "commit by other authors". GitHub. https://github.com/pygame/pygame/commit/a4e0f865c591980e7aa2a160a92a2c9098a678ec.
- ↑ "Pygame Front Page — pygame v2.0.1.dev1 documentation". https://www.pygame.org/docs/.
- ↑ "pygame 1.9.5 released into the wilds". https://www.pygame.org/news/2019/3/1-9-5-released-into-the-wilds.
- ↑ "pygame 2.0 - the happy dance birthday release". GitHub. https://github.com/pygame/pygame/releases/tag/2.0.0.
- ↑ "Pygame docs". https://www.pygame.org/docs/.
- ↑ "Example of using RAPT to package pygame(_sdl2) games.: renpytom/rapt-pygame-example". GitHub. 1 April 2019. https://github.com/renpytom/rapt-pygame-example.
- ↑ "API — Pygame Subset for Android". http://pygame.renpy.org/api.html.
- ↑ "PyWeek - Python Game Programming Challenge". http://www.pyweek.org/.
- ↑ Gee, Sue (29 March 2013). "Why PyWeek: An Interview with Richard Jones". https://www.i-programmer.info/professional-programmer/i-programmer/5697-why-pyweek-an-interview-with-richard-jones-.html.
- ↑ "PyWeek - Python Wiki". https://wiki.python.org/moin/PyWeek.
- ↑ "pygame documentation: Tutorials". http://www.pygame.org/docs/.
- ↑ Siddiqi (2020-06-27). "Python Game projects with source code" (in en-US). https://coderslegacy.com/python-game-projects-with-source-code/.
- ↑ Shinners, Pete. "Line by line tutorial - Tutorial for beginners". http://pygame.org/docs/tut/chimp/ChimpLineByLine.html.
- ↑ "Creating Games with Python - A tutorial explaining how to use pygame for game development and improved execution". http://www.linuxjournal.com/article/7694.
- ↑ "Arinoid tutorials video tutorials at ShowMeDo". http://showmedo.com/videos/series?name=pythonArellanoPyGameSeries.
- ↑ "fretsonfire/src at master · skyostil/fretsonfire" (in en). https://github.com/skyostil/fretsonfire.
- ↑ "Dangerous High School Girls in Trouble!". http://pygame.org/project-Dangerous+High+School+Girls+in+Trouble!-791-.html.
- ↑ "Save the Date". http://paperdino.com/save-the-date/.
- ↑ "Drawn Down Abyss". https://store.steampowered.com/app/1146560/Drawn_Down_Abyss/.
- ↑ "pygame 1.9.5 released into the wilds". https://www.pygame.org/news/2019/3/1-9-5-released-into-the-wilds.
External links
- Pygame newsgroup (web access) - the "official" Pygame newsgroup, requires registration
- Pygame Subset for Android (PGS4A)
- pyOpenGL - Python OpenGL Bindings
- Pygame-SDL2 - a reimplementation of Pygame APIs on top of SDL2
- PySDL2 - a wrapper around the SDL2 library similar to the discontinued PySDL project
Original source: https://en.wikipedia.org/wiki/Pygame.
Read more |