Gummworld2 - 0.3.0
There is a Google group to discuss Gummworld2 and related projects. All are welcome. Please stop by and start a discussion.
This is Gummworld2. It's designed as a light pygame framework for a scrolling game, where the map is larger than the display. It emphasizes simplicity, freedom, and performance.
Helpers for Tiled and pymunk are included. However, they are not required.
Source and documentation bundle is available, as well as SVN, via the project home page. Plenty of uncomplicated examples.
Yes, that screenshot shows a legitimate 332 FPS in a scrolling 800x600 window. It's a 2048x2048-pixel map of nearly 500 visible sprites, collapsed down to 36 images by Gummworld2 for batch efficiency.
With release v0.3.0 the tiled2 branch is live. The included tiletmxloader v3 brings optimizations and bug fixes. The gummworld2 library brings many optimizations and a few bug fixes, and quite a bit of internal redesign as well as some API changes. Some dead modules and toolkit functions have been removed.
SpatialHash replaces Quadtree and 2D arrays for map objects storage. It is much more flexible and easy to query than arrays, and a lot faster than Quadtree.
A new SuperMap class joins an arbitrary number of maps together, with memory-friendly auto-loading and unloading and other features. This class is also super easy to use, and enables unlimited world building.
API changes were necessary to bring in the new features.
Note: if you want to pull source from SVN, be sure to get the tiled2/ branch.
Pygame.org account Comments
If you wish to leave a comment with your pygame.org account, please sign in first.