Jake b | 14 May 2013 23:04
Picon

spam on cookbook?

I found strange links on the bottom of the cookbook. It just says

http://www.el7z.com/search.php?t=%D8%A7%D9%84%D8%B9%D8%A7%D8%A8%20%D8%AA%D9%84%D8%A8%D9%8A%D8%B3

--
Jake
Kevin Locoh | 12 May 2013 20:24
Picon
Gravatar

Distributing a Pygame game on Linux

Hi all,


I've been wondering how to best distribute a game made with Pygame on Linux. On Windows, cx_Freeze works very well, and I assume it would be just the same on Mac OS. But on Linux, it's perfectly useless because of the various distros I'd have to build the game for. I could ship a tarball with the sources, but still, it's quite difficult for the users to deal with so many dependencies (Pygame, and hence the SDL, Numpy sometimes…). In my case, I can't even relie on the repos and tell the players to install a few packages with Aptitude: I use Python 3 and a pre-release of Pygame 1.9.2 (so as to use Surfarray, not available for Python 3 with Pygame 1.9.1), and these versions aren't even in the repos. So, what's the best way to distribute a game for Linux?

I've thought of a few possibilites I could try:
  • Making some generic DEB and RPM packages, and hope they can cover most distributions. I don't know whether a RPM built on Ubuntu will work on Fedora though…
  • Using Setuptools/Distribute and Python eggs. From what I've read, it is quite powerful. Provided the Setuptools script point to the Pygame Mercurial repo and to any other required dependency, it will build them from the sources on its own. The only limit is the SDL. It doesn't seem that Setuptools can install a C library, so the user will have to install it by himself. But that seems more reasonable already, the SDL 1.2 being widely available on most distros. Or I could add the SDL to the sources and tweak the setup script so that it builds it if needed. In this way, I would have a completely standalone game, with the same sources regardless of the distribution. Has anyone tried his hand at it? I'd love to hear some feedback.
Thanks in advance for your help!
Kevin

Brian Bull | 8 May 2013 00:38
Picon
Favicon

In-dev dungeon game for Android

Hello list,
 
I'm in the process of developing a dungeon adventure game for Android, using Pygame and PGS4A. Target platform at this point is my Samsung Galaxy phone.

I've just posted a gameplay video at http://www.youtube.com/watch?v=_LpDUmIrG4Q.

You control a party of six characters - in this case, two warriors, a rogue, two wizards (one powerful and the other subtle) and a healer.

As you progress through the dungeon, you are attacked by a variety of horrible monsters. You need to counter their special attacks, launch your own special attacks and keep an eye on your characters' health and energy levels.

There are over 60 types of monster. And there are about 100 character abilities (so far), so you can customise your party to work together in a lot of different ways.

The beautiful tile art is the work of an artist called Shockbolt. He has licenced his tileset for use in this project (on a strictly non profit basis). I am sorry it looks so blurry over the Youtube: it looks pretty good on the phone.

Most grateful for any feedback,
Antoine (bbull1-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org)

Marcus von Appen | 3 May 2013 08:05

PySDL2 0.2.0 released

PySDL2 0.2.0 has been released.

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.2.0 is a bugfix release, which fixes several issues with different
methods, functions and modules.

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

Cheers
Marcus
Kévin Locoh | 1 May 2013 12:35
Picon
Gravatar

Some Ludum Dare 26 entries using Pygame

Hi all,

I just wanted to show you a few games using Pygame which were made for the Ludum Dare 26, this week-end. The theme of the game jam was "minimalism".

Enjoy!

Kevin.

Frank Butcher | 30 Apr 2013 10:46
Picon

Hello, how to display a background around a active play screen?

Afternoon,

Please forgive my newbie question.

I am trying to re-create a arcade cabinet design in pygame. So that the cab displays around the play area.

How can I do this? What I want is say the game to display in 600x400 and the cab to take up the rest of the screen.

Thanks,

Dan.
Marcus von Appen | 29 Apr 2013 19:14

pgreloaded is dead - long live PySDL2

Dear all,

as written in another thread earlier, I planned to flesh out and move
pgreloaded's pygame2 package into a more simple layout. This has been done.
The result is PySDL2 [0], a thin ctypes wrapper around the SDL2 library, which
also features some enhanced functionality from pgreloaded.

The audio part of pgreloaded was moved into py-al [1], a thin wrapper around
the OpenAL audio standard, featuring some enhanced functionality from
pgreloaded.

Everything else was moved into a set of utilities [2], since it is generic
enough to be used for different purposes, but does not require you to download
the whole pgreloaded package.

Work on pgreloaded has been stopped - it grew too fast in too many directions,
which lead to a maintenance hell for a single person. The two (or three)
projects can live on their own and releases are decoupled from each other, so
that I expect the maintenance to be bearable.

All code is under the Public Domain, enjoy!

[0] https://bitbucket.org/marcusva/py-sdl2/
    http://pysdl2.readthedocs.org/

[1] https://bitbucket.org/marcusva/py-al
    http://pyal.readthedocs.org/

[2] https://bitbucket.org/marcusva/python-utils
    http://python-utilities.readthedocs.org/

Cheers
Marcus
Paul Vincent Craven | 29 Apr 2013 14:44
Favicon

New Pygame book out

Hi, I finished my introductory book on Pygame and Python:

Paul Vincent Craven
Jake b | 27 Apr 2013 00:34
Picon

download page should more clearly link the new binaries

at http://www.pygame.org/download.shtml it can appear that the newest package is from 2009 ( I've seen several posts on SO where under the assumption that pygame doesn't have a py3.x installer )

But lower there are links to py3.x 32/64 binaries. And there are also: https://bitbucket.org/pygame/pygame/downloads

I'm not sure myself which installer is preferred to recommend.

--
Jake
Greg Ewing | 21 Apr 2013 10:41
Picon
Picon
Favicon

ANN: Albow 2.2.0

ALBOW - A Little Bit of Widgetry for PyGame

Version 2.2 is now available.

   http://www.cosc.canterbury.ac.nz/greg.ewing/python/Albow/

Highlights of this version:

   * Multichoice control
   * Powerful new facilities for hot-linking controls to application data

There are also many other improvements and bug fixes. See the
Change Log for details.

What is Albow?

Albow is a library for creating GUIs using PyGame that I have been
developing over the course of several PyWeek competitions. I am documenting
and releasing it as a separate package so that others may benefit from it,
and so that it will be permissible for use in future PyGame entries.

The download includes HTML documentation and some example programs
demonstrating most of the library's features. You can also see some
screenshots and browse the documentation on-line.

--
Gregory Ewing
greg.ewing@...

Andrew Barlow | 15 Apr 2013 18:25
Picon
Gravatar

Ongoing Development

Hello,

I was just wondering what the state of PyGame was these days? I see there hasn't been a new version since 2009. I'm hoping its just because its so stable, but I wanted to be sure.

Is there another wrapper around SDL that people prefer now?

Is Python 3 fully supported yet?

Any information would be hugely appreciated!

Cheers

Gmane