pygame is
Python
Simple DirectMedia Layer
 
 
pygame.org is
Site Swing
News

The python pygame music collection - Apr 10, 2014

We are collecting music made with python at this "the-game-music-from-pygames" issue.

The music will be placed on the new "HiFi"(alpha) pygame website for people to listen to. If you've made some music, or you like music from a game please suggest it in the issue!

PySDL 0.9.1 released - Apr 8, 2014

Marcus von Appen has released PySDL2 0.9.1.

PySDL2 is a wrapper around the SDL2 library and as such similar to the discontinued PySDL project. In contrast to PySDL, it has no licensing restrictions, nor does it rely on C code, but uses ctypes instead.

Version 0.9.1 is a bugfix release, which fixes some issues in the PySDL2 API:

  • fixed issue #50: corrected the sdl2.ext.load_image() documentation
  • fixed issue #52: sdl2.ext.Renderer.fill(), sdl2.ext.Renderer.draw_rect() and sdl2.ext.Renderer.draw_point() convert sequences correctly now
  • fixed issue #53: provide backwards compatibility for previous SDL2 releases by adding a wrapper function for sdl2.cpuinfo.SDL_HasAVX()

You can download it from http://bitbucket.org/marcusva/py-sdl2/downloads.
The documentation, listing all of its features, can be browsed online at http://pysdl2.readthedocs.org/.

PyPy + pygame_cffi benchmarked against CPython + pygame - Mar 28, 2014

Development continues on a version of pygame that's optimized for PyPy. Recently, the performance of PyPy + pygame_cffi was benchmarked and compared to the performance of CPython + pygame. Results have been posted here: http://morepypy.blogspot.de/2014/03/pygamecffi-pygame-on-pypy.html

Kivy App Contest 2014 - Mar 27, 2014

The Kivy App Contest 2014 will run from April 15 until May 14. The theme and the prizes will be announced soon.

(Kivy, a cross-platform application development framework, can use pygame for some of its functions.)

PyOpenGL 3.1.0b2 is available for testing - Mar 26, 2014

Mike C. Fletcher has announced that the second beta version of PyOpenGL 3.1.0 is now available. If no critical issues are found, then Mike will do a final release in a few weeks. These are the changes since Beta 1:

  • Generation fixes (lots of them)
  • GLES/GL-only extensions should now be generated only in the appropriate directories
  • Extensions which are multi-api will show up in each API package (note: custom wrappers are still written per-api)
  • Freshly generated wrappers from the khronos API repository
  • Late/lazy binding of all entry points (that is, we do not even attempt to resolve any entry point until we try to try to call it)
  • All DLLs are now lazy-loaded, so we can define DLLs and entry points without paying for loading them in every script
  • Export the nullFunction method in the OpenGL.platform namespace
  • No longer export DLLs into the OpenGL.platform namespace, these are now in OpenGL.platform.PLATFORM (to allow for lazy loading)
  • Setup script fixes for relative filename references
  • Build fixes for cython on OS X
  • Remove duplicate checking for extension in createFunction()
  • A bit of work on making a GLES2 shader wrapper as in GL
  • Explicitly check for self._noErrorResult in error checkers rather than assuming no-error-result is always boolean False
  • Explicitly return self._noErrorResult when error checking is suppressed
  • VBO implementation is now separated out into per-api modules so that GLES can eventually get its own implementation
  • OS X fix for true-core-context with no error checking
  • Refactor the OSMesa context into a platform and a module with the extension functions (OpenGL.osmesa)
  • Make most "output" parameters use "orPassIn" flag so that they can be *either* generated or passed in
  • Fix for shader log retrieval when using core shader implementation
  • Provide OpenGL and GLES dlls on the EGL and GLX platforms respectively
  • Reinstate intended default for context-checking flag (True)
  • Remove support for extremely old ctypes versions from now-unsupported Python versions
  • Accelerate wrappers regenerated with cython 0.20.1

Download: https://pypi.python.org/pypi/PyOpenGL/3.1.0b2

PyWeek 18 will begin on May 11 - Mar 25, 2014

The 18th PyWeek Python Game Programming Challenge will run from May 11th (00:00 UTC) until May 18th (00:00 UTC)

The PyWeek challenge:

  1. Invites entrants to write a game in one week from scratch either as an individual or in a team,
  2. Is intended to be challenging and fun,
  3. Will increase the public body of game tools, code and expertise,
  4. Will let a lot of people actually finish a game, and
  5. May inspire new projects (with ready-made teams!)
Check out the help page for how to compete (and prepare) and the growing resources message board post:

cocos2d 0.6.0 released - Mar 25, 2014

The cocos2d Team has released cocos2d 0.6.0, a 2D framework for games and multimedia that uses Python, pyglet and six.

http://cocos2d.org/

PySDL2 0.9.0 released - Mar 23, 2014

Marcus von Appen has released PySDL2 0.9.0.

PySDL2 is a wrapper around the SDL2 library and as such similar to the discontinued PySDL project. In contrast to PySDL, it has no licensing restrictions, nor does it rely on C code, but uses ctypes instead.

Version 0.9.0 is a feature release, which provides the following changes:

  • the sdl2 module is compatible with SDL2 2.0.3
  • new sdl2.ext.subsurface() function to create subsurfaces from sdl2.SDL_Surface objects
  • new sdl2.ext.SoftwareSprite.subsprite() method to create sdl2.ext.SoftwareSprite objects sharing pixel data
  • the unit test runner features a --logfile argument now to save the unit test output to a file
  • the different render classes of sdl2.ext.sprite were renamed
  • the sdl2.ext.RenderContext class was renamed to sdl2.ext.Renderer to be consistent with with SDL2's naming scheme
  • sdl2.ext.SpriteRenderer was renamed to sdl2.ext.SpriteRenderSystem
  • sdl2.ext.SoftwareSpriteRenderer was renamed to sdl2.ext.SoftwareSpriteRenderSystem
  • sdl2.ext.TextureSpriteRenderer was renamed to sdl2.ext.TextureSpriteRenderSystem
  • sdl2.ext.SpriteFactory.create_sprite_renderer() was renamed to sdl2.ext.SpriteFactory.create_sprite_render_system()
  • various bug fixes

Please note that version 0.9.0 is not compatible with previous releases, due to the changed class names in the sdl2.ext module.

You can download it from http://bitbucket.org/marcusva/py-sdl2/downloads. The documentation, listing all of its features, can be browsed online at http://pysdl2.readthedocs.org/.

Blender 2.70 released - Mar 20, 2014

The Blender Foundation has released Blender 2.70, an open-source 3D modeling tool with a Python-scriptable game engine.

BaconGameJam 07 and Mini Ludum Dare 50 - Mar 10, 2014

There will be two short game competitions later this month:

  • BaconGameJam 07 - the competition will begin when the theme is announced on March 21
  • Mini Ludum Dare 50 - the theme is DEMAKES, and the competition will run from March 22 until March 24

PyJ2D 0.23 and Pyjsdl 0.18 released - Mar 7, 2014

PyJ2D 0.23, a tool for converting Python/pygame code to Java, and Pyjsdl 0.18, a tool for converting Python/pygame code to HTML5-compatible JavaScript, have been released by Jim Garnon. There are limitations, which are described on the PyJ2D and Pyjsdl pages.

Ludum Dare 29 - weekend of April 25th-28th - Feb 27, 2014

The 29th Ludum Dare game programming competition will take place on the weekend of April 25th-28th, 2014. Details:
http://www.ludumdare.com/compo/

PySDL 0.8.0 released - Dec 31, 2013

PySDL2 is a wrapper around the SDL2 library and as such similar to the discontinued PySDL project. In contrast to PySDL, it has no licensing restrictions, nor does it rely on C code, but uses ctypes instead.

Version 0.8.0 is a bugfix release, which provides the following changes:

  • updated PD information to include the CC0 dedication
  • updated sdl2 to include the latest changes of SDL2 (HG)
  • fixed a wrong C mapping of sdl2.rwops.SDL_FreeRW()
  • fixed various issues within the sdl2.ext.BitmapFont class
  • sdl2.SDL_AudioSpec.callback is a SDL_AudioCallBack() now
  • the SDL_Add/DelHintCallback() unittest works with PyPy now
  • sdl2.sdlmixer.SDL_MIXER_VERSION() returns the proper version now

You can download it from http://bitbucket.org/marcusva/py-sdl2/downloads.
The documentation, listing all of its features, can be browsed online at http://pysdl2.readthedocs.org/.

pygame-cffi on the Raspberry Pi and PyPy - Dec 10, 2013

From the PyPy Status Blog...

One of the Raspberry Pi's goals is to be a fun toolkit for school children (and adults!) to learn programming and electronics with. Python and pygame are part of this toolkit. Recently, the Raspberry Pi Foundation funded parts of the effort of porting PyPy to the Pi -- making Python programs on the Pi faster!
...
Raspberry Pi sponsored a CTPUG (Cape Town Python User Group) hackathon to put together a proof-of-concept pygame-cffi. The day was quite successful -- we got a basic version of the bub'n'bros client working on pygame-cffi (and on PyPy). The results can be found on github with contributions from the five people present at the sprint.
...

More at http://morepypy.blogspot.com/2013/12/pygame-cffi.html

Dates for Ludum Dare #28: weekend of December 13th-16th - Nov 12, 2013

The dates for the 28th Ludum Dare game development competition have been announced. The competition will take place on the weekend of December 13th-16th, 2013. Here are the rules: http://www.ludumdare.com/compo/rules/

New pygame book: Program Arcade Games With Python and Pygame - Oct 29, 2013

Dr. Paul V. Craven, head of the Computer Science Department at Simpson College in Indianola, Iowa, USA, has released a new pygame book, Program Arcade Games With Python and Pygame. This book is available in digital and paperback forms. It has been used to introduce students to computer science. For details, visit its project page.

spotlight

 
our projects
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
 
recent releases
Apr 21, 2014


Apr 19, 2014

Apr 16, 2014

Apr 13, 2014

Apr 9, 2014

Mar 18, 2014


Mar 15, 2014


Mar 14, 2014

Mar 13, 2014

... more!
 
for pygame related questions, comments, and suggestions, please see help (lists, irc)