|Category:||Development ➤ Framework & Tool||Commercial:|
|Tags:||Development - Autres outils - Framework & tools - Python||Demo:|
|Released:||Latest : 1.9.1 / Dev : Df48571||Stage of dev.:|
|View:||Third & First person||Package:|
|Graphic:||2D & 3D||Binary:|
|Played:||Single & Multi||PDA:|
|Quality (record):||Quality (game):|
|Contrib.:||Goupil & Louis||ID:||14247|
|[fr]:||Une bibliothèque multiplateforme facilitant le développement de jeux vidéo temps réel avec le langage de programmation Python||[en]:||A set of Python modules designed for writing games|
Trailer / Gameplay [en] / [en] / [fr] :
Website & videos
[Homepage] [Dev site] [Features/About] [Screenshots] [Videos t t t t t t t r r g] [WIKI 1 2 3] [FAQ] [Changelog 1 2]
Commercial : (empty)
• [Pygame Resources]
[Open Hub] [Wikibooks (Traduction Française du site Pygame) [fr]] [Making Games with Python & Pygame (Free book)] [PyGame Tutorials]
Devs (Pygame Team [fr] [en]) : [Site 1 2] [twitter] [YouTube] [Interview 1 2]
Game : [Blog] [Forums] [twitter] [YouTube]
On other sites
[Wikipedia (Pygame) [fr] [en]]
News / Source of this Entry (SotE) / News (SotN)
Une bibliothèque multiplateforme facilitant le développement de jeux vidéo temps réel avec le langage de programmation Python, par la Pygame Team.
Pygame est une bibliothèque libre multiplateforme qui facilite le développement de jeux vidéo temps réel avec le langage de programmation Python.
Elle est distribuée selon les termes de la licence GNU LGPL.
Construite sur la bibliothèque SDL, elle permet de programmer la partie multimédia (graphismes, son et entrées au clavier, à la souris ou au joystick), sans se heurter aux difficultés des langages de bas niveaux comme le C et ses dérivés. Cela se fonde sur la supposition que la partie multimédia, souvent la plus contraignante à programmer dans un tel jeu, est suffisamment indépendante de la logique même du jeu pour qu'on puisse utiliser un langage de haut niveau (en l'occurrence le Python) pour la structure du jeu.
Pygame, en plus d'adapter la SDL au Python, fournit également un petit nombre de fonctions spécifiques au développement de jeux.
On peut aussi remarquer que Pygame n'est plus utilisée exclusivement pour des jeux vidéo, mais également pour des applications diverses nécessitant du graphisme.
Pygame is a set of Python modules designed for writing games.
Pygame adds functionality on top of the excellent SDL library. This allows you to create fully featured games and multimedia programs in the python language. Pygame is highly portable and runs on nearly every platform and operating system. Pygame itself has been downloaded millions of times, and has had millions of visits to its website.
Pygame is free. Released under the GPL License, you can create open source, free, freeware, shareware, and commercial games with it. See the licence for full details.
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.
Pygame was originally written by Pete Shinners to replace PySDL after its development stalled. It has been a community project since 2004 or 2005 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. Another 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 is a regular competition, called PyWeek, to write games using Python (and usually but not necessarily, Pygame). The community has created many tutorials for Pygame.
Facts About Pygame
☑ Silliness built in. Pygame is meant to make software things fun. New silliness is added every 3.1415 seconds.
☑ Does not require OpenGL. With many people having broken OpenGL setups, requiring OpenGL exclusively will cut into your user base significantly. Pygame uses either opengl, directx, windib, X11, linux frame buffer, and many other different backends... including an ASCII art backend! OpenGL is often broken on linux systems, and also on windows systems - which is why professional games use multiple backends.
☑ Multi core CPUs can be used easily. With dual core CPUs common, and 8 core CPUs cheaply available on desktop systems, making use of multi core CPUs allows you to do more in your game. Selected pygame functions release the dreaded python GIL, which is something you can do from C code.
☑ Uses optimized C, and Assembly code for core functions. C code is often 10-20 times faster than python code, and assembly code can easily be 100x or more times faster than python code.
☑ Comes with many Operating systems. Just an apt-get, emerge, pkg_add, or yast install away. No need to mess with installing it outside of your operating systems package manager. Comes with binary installers (and uninstallers) for Windows or MacOS X. Pygame does not require setuptools, or ctypes to install.
☑ Truly portable. Supports Linux (pygame comes with most mainstream linux distributions), Windows (95,98,me,2000,XP,vista, 64bit windows etc), Windows CE, BeOS, MacOS, Mac OS X, FreeBSD, NetBSD, OpenBSD, BSD/OS, Solaris, IRIX, and QNX. The code contains support for AmigaOS, Dreamcast, Atari, AIX, OSF/Tru64, RISC OS, SymbianOS, and OS/2, but these are not officially supported. You can use it on hand held devices from nokia, game consoles like gp2x, and the One Laptop Per Child (OLPC).
☑ It's Simple and easy to use. Kids and adults make games with pygame.ll your functions. This gives you greater control when using other libraries, and for different types of programs.
☑ Does not require a GUI to use all functions. You can use pygame without a monitor - like if you want to use it just to process images, get joystick input, or play sounds.
☑ Fast response to reported bugs. Some bugs are patched within an hour of being reported. Do a search on our mailing list for BUG... you'll see for yourself. Sometimes we suck at bug fixes, but mostly we're pretty good bug fixers. Bug reports are quite rare these days, since a lot of them have been fixed already.
☑ Small amount of code. It does not have hundreds of thousands of lines of code for things you won't use anyway. The core is kept simple, and extra things like GUI libraries, and effects are developed separately outside of pygame.