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

pug - 0.8

Ivan DelSol (sunspider)

Tags:

Description

A 2d game building environment. Featuring:
* wx based game-builder gui
* automatic code generation
* real-time game object manipulation

PIG
The main pug example project is PIG, a 2d game building environment using python. To try it, go into the Pig_Demo folder and run edit_project.py
System requirements:
* Python 2.5 (http://www.python.org/download/releases/2.5.4/)
* wxPython (http://www.wxpython.org/download.php)
* pygame 1.9.1 for Python 2.5 (http://www.pygame.org/download.shtml)
* PyOpenGL (http://sourceforge.net/projects/pyopengl/)
* Numeric (available in downloads) OR numpy (http://sourceforge.net/projects/numpy/files/NumPy/1.5.1/)
* Opioid2D (available in downloads) For Mac and linux, use the .gz source package, which has a few requirements that aren't obvious: build-essential, python-dev, libgl1-mesa-dev, and swig.

PUG
Python Universal GUI automatically creates GUI windows for python objects. These windows allow you to view and alter your objects at runtime, as well as save and load their states. Pug uses wxWidgets to automatically generate GUIs for program objects. It can be used as a testing platform and can also be adapted as an editor.

THE FOLDERS
* pug: this is the GUI generator
* pig: Python Inventor Gizmo. This is a 2D game builder based on pug.
* Pig_Demo: an example project using pig. Requires pig and pug. Run edit_project.py to try it. This is meant to be used with the Quick Start guide available in downloads.

Changes

Everything works WAY better now. GUI integrated into a single window. Tons of new features and components.

Links

Home Page: http://code.google.com/p/pug
Source: http://pug.googlecode.com/svn/trunk/
Windows: http://code.google.com/p/pug/downloads/list

Screenshot


click to view original size

Releases

pug - 0.9.1 - Jan 24, 2011
pug - 0.8.1 - Jul 7, 2010
pug - 0.8 - Jul 2, 2010
pug - 0.1.4 - Aug 4, 2008
pug - 0.1.3 - Jun 28, 2008
pug - 0.1.2 - Jun 25, 2008

Pygame.org account Comments

If you wish to leave a comment with your pygame.org account, please sign in first.

January 24, 2011 5:07pm - Ivan DelSol - nickname: (sunspider)
To contact me, please use the discussion group on the google code page. Pygame doesn't forward your comments to my email :(
August 18, 2010 12:18am - Eric Pavey - nickname: (akeric) - 5/5
Thanks for the hands on demo. Amazing stuff man!
July 7, 2010 2:21am - Ivan DelSol - nickname: (sunspider)
New release with some bug fixes. It's amazing how people using your code makes things come to light!
July 2, 2010 3:54pm - Ivan DelSol - nickname: (sunspider)
Linux and Mac Opioid2D installer now on download site. Users on those OSes should be able to make this work now.
July 2, 2010 3:14pm - Ivan DelSol - nickname: (sunspider)
As you can see, this is about 2 years of upgrades from my cave in Oregon. PLEASE let me know if you have trouble making it work. Linux and Mac requirements coming very soon.
December 8, 2009 6:03pm - Nathan Timmerman - nickname: (dullstar)
...once i feel like picking up the other stuff to make it work.
December 8, 2009 6:02pm - Nathan Timmerman - nickname: (dullstar)
I think I'll try this. After all, what do I have to lose? I REALLY want to make a game, but I need it to work well on Linux, Windows, and Mac.
July 5, 2008 10:04pm - Ivan DelSol - nickname: (sunspider)
If anyone wants to use PUG with their project, post here and I'll help you get started!
June 30, 2008 9:30pm - Ivan DelSol - nickname: (sunspider)
I'll build zip and tarball with next release.
June 30, 2008 2:03pm - pymike - nickname: (pymike)
Can you release a zip of it? It's kinda hard downloading stuff from SVN :S
June 28, 2008 9:37pm - Ivan DelSol - nickname: (sunspider)
Okay... new release is up, and should be easier to demo.
I believe that pug is already useful for pygame projects if you take the few hours it will take to integrate with your game...
BTW, it runs as a separate thread looking in on your project, so it need not be released with your final version.
June 26, 2008 10:25pm - Ivan DelSol - nickname: (sunspider)
Hmmm... that must be because I am using relative imports for the projects. However, my intent was for the user to put the four main directories in the PythonPath. NOT just the root pug folder. The idea is that pug_opioid is a library, pug (as in pug/pug) is a separate library, and each project is its own python project.

Sure enough, I somehow left out the testobject module. 0.1.3 here I come.

I'll put some readme files in there to explain how to run the demos. And a screenshot...
June 26, 2008 2:16am - Claudio Canepa - nickname: (claxo)
To start the opioid demo I needed to move all files and dirs under
pug/pug_opioid/project
, except __init__ and the ones beginning with '.', to
pug/
June 26, 2008 1:51am - Claudio Canepa - nickname: (claxo)
Checked out rev 7, the mygame example seems to be missing a module 'testobject' ?
Also, for both the opioid - pygame demos it is unclear how to actually start the demos.
spotlight

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

Oct 21, 2014

Oct 20, 2014

Oct 16, 2014

Oct 9, 2014

Oct 8, 2014

Oct 7, 2014

Oct 4, 2014

Oct 1, 2014

Sep 19, 2014

Sep 17, 2014

Sep 9, 2014

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