A Hierarchical Surface Framework for Pygame
planes is a hierarchical surface framework for PyGame.
The planes module introduces the "Plane" class which extends PyGame's "Surface" functionality, offering a hierarchy of mouse-sensitive, draggable Surfaces that can be used as sprites, windows, icons or other interactive elements.
In addition, the planes.gui module uses planes to provide basic GUI elements like container, label, text box, option list and button.
Python >= 2.6 http://www.python.org
PyGame >= 1.9.1 http://pygame.org/
Unzip the file, then at the command line run
python setup.py install
A showcase python script will be installed along with planes. Run
API documentation is included and will be installed during install.
planes on Launchpad: https://launchpad.net/planes
planes on Freecode: http://freecode.com/projects/planes
planes on ohloh: https://www.ohloh.net/p/planes
planes on the Python Package Index: http://pypi.python.org/pypi/planes
planes on pygame.org: http://pygame.org/project-planes-2392-4051.html
(c) Florian Berger
Releases are signed with my OpenPGP key.
Released on 5 March 2013.
planes now logs runtime statistics and displays them when F12 is pressed. There is a font manager class now, and planes comes bundled with a selection of free fonts for instant use. A font usage example is inculded. There is a new widget planes.gui.ProgressBar. All gfx and font resources are now bundled in a 'resources.zip' file which is distributed along with planes. planes now uses cx_Freeze to build executables. Added mouse wheel support for the Plane class and the PlusMinusBox widget specifically. Optimized Plane.render() a little to checks whether subplanes actually intersect with Display.rect. Bug fixes and enhancements in Plane.render(), gui.Container.sub(), and 'planes_interactive.py'. Docs update.
planes-0.6.0.zip (MD5 3cd067054cc88913ed3541cf30c060a3)
Older releases are available upon request.