Pygame
| Pygame
| |
|---|---|
| Basisdaten
| |
| Entwickler | Pete Shinners |
| Erscheinungsjahr | 22. Oktober 2000 |
| Aktuelle Version | 2.6.1[1] (29. September 2024) |
| Betriebssystem | plattformunabhängig |
| Programmiersprache | C, Python[2] |
| Kategorie | Programmbibliothek |
| Lizenz | LGPL |
| https://www.pygame.org | |
Pygame ist eine von Pete Shinners entwickelte Python-Programmbibliothek zur Spieleprogrammierung.
Sie enthält Module zum Abspielen und Steuern von Grafik und Sound sowie zum Abfragen von Eingabegeräten (Tastatur, Maus, Joystick). Als Grundlage verwendet Pygame die Simple-DirectMedia-Layer-Bibliothek. Ziel ist es, Computerspiele entwickeln zu können, ohne auf Low-Level-Programmiersprachen wie C zurückgreifen zu müssen. Dies basiert auf der Annahme, dass die rechenintensivsten Funktionen innerhalb eines Computerspiels (in erster Linie Grafikroutinen) komplett von der Spiel-Logik abstrahiert werden können und deshalb eine High-Level-Programmiersprache wie Python verwendet werden kann, um das Spiel als solches und seinen Ablauf zu strukturieren.
Pygame ist kompatibel zu 3D-Grafikmodulen wie PyOpenGL[3] und PyEngine3D.[4]
Dateiformate
Bilder
Pygame unterstützt mehrere Bildformate.[5]
- JPG, PNG, GIF (nicht animiert), BMP
- PCX, TGA (unkomprimiert), TIF, LBM, PBM (sowie PGM und PPM), XPM
Man kann Bilder auch als Dateien auf der Festplatte speichern, unterstützt werden die Bildformate BMP, TGA, PNG und JPEG.
Musik, Sound
Es werden die Formate OGG, WAV (unkomprimiert) und seit Version 2.0.2 auch MP3 unterstützt.[6]
Spiele, die Pygame nutzen
- Frets on Fire
- Unity of Command[7], der Vorgängertitel zu Unity of Command II
- Dangerous High School Girls in Trouble![8]
- Save the Date[9] IndieCade-2013-Finalist.
- Trosnoth[10] (ein Netzwerkspiel)
- Super Potato Bruh[11]
- SolarWolf[12], basiert auf Solar Fox
Weblinks
- Offizielle Website
- Englischsprachige Dokumentation
- Deutschsprachige Dokumentation
- Pygame auf GitHub
- Eine deutschsprachige Einführung
Einzelnachweise
- ↑ Release 2.6.1. 29. September 2024 (abgerufen am 27. Oktober 2024).
- ↑ The pygame Open Source Project on Open Hub: Languages Page. In: Open Hub. (abgerufen am 5. September 2018).
- ↑ PyOpenGL 3.x, auf pyopengl.sourceforge.net
- ↑ ubuntunux / PyEngine3D Public, auf github.com
- ↑ pygame.image — Pygame v1.9.4 documentation. Abgerufen am 23. März 2018.
- ↑ pygame.mixer.music — pygame v2.1.1 documentation. Abgerufen am 3. Dezember 2021.
- ↑ programming language used? - Unity of Command Forums. Abgerufen am 22. Januar 2022.
- ↑ Dangerous High School Girls in Trouble! Pygame.org, abgerufen am 8. Juli 2011 (englisch).
- ↑ Save the Date. Paperdino.com, abgerufen am 14. Oktober 2014 (englisch).
- ↑ Trosnoth
- ↑ Super Potato Bruh by DaFluffyPotato. Abgerufen am 11. Oktober 2019 (englisch).
- ↑ Planet SolarWolf. Abgerufen am 11. Oktober 2019.
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.