Sponsored Links

Minggu, 26 November 2017

Sponsored Links

pokemon pygame - weekly progress 1 - YouTube
src: i.ytimg.com

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.


Video Pygame



History

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.


Maps Pygame



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. Running Pygame applications on iOS is currently not supported. 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.


Pygame Snake game | Lemon-Tea Development รข€
src: static.wixstatic.com


Community

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.


Pygame (Python Game Development) Tutorial - 6 - Draw Rect and Fill ...
src: i.ytimg.com


Notable games using Pygame

  • Frets on Fire
  • Dangerous High School Girls in Trouble
  • Save the Date, IndieCade 2013 Finalist.

developing piano tiles with pygame - YouTube
src: i.ytimg.com


See also

  • Cocos2d
  • Panda3D
  • Pyglet

Pygame (Python Game Development) Tutorial - 51 - Button Press ...
src: i.ytimg.com


References


Game Development in Python 3 With PyGame - 1 - Intro - YouTube
src: i.ytimg.com


Further reading

  • 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.

Pygame (Python Game Development) Tutorial - 2 - Creating a Basic ...
src: i.ytimg.com


External links

  • Official website
  • 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

Source of the article : Wikipedia

Comments
0 Comments