pygext - 0.9.2
Pygame Extended: OpenGL accelerated sprite/event-engine plus a miscellanous bunch of utility libraries
Sami Hangaslammi
(shang)
Pygame Extended (or pygext) is my "everything and a kitchen sink" collection of libraries for Pygame development. The main part of pygext, is the OpenGL accelerated 2D framework (pygext.gl) for rendering and controlling sprites. Pygext also contains additions to pygame.draw (e.g. rectangles with round corners) and an opengl accelerated 2D vector graphics library (experimental).
Pygext is currently 100% pure Python, so parts of it might still be a bit slow on less than high end PCs. However, I've tried to design the code to be as psyco-friendly as possible, so you will see quite a noticeable difference with psyco enabled. Remember to add import psyco; psyco.profile() at the beginning of your applications.
Main Features
* Use layers to control rendering order (unlimited layers per scene)
* Sprites you can rotate, scale and alpha blend
* Sprites can be attached to each other for synchronized movement
* Framerate independent animation and movement
* Control sprites via "Actions" instead of manually
updating coordinates every frame
* Fully featured particle effects
* Collision detection
* Scenes and states for structuring game logic
Requires: PyOpenGL, Numeric and Polygon (optional)
Pygext is currently 100% pure Python, so parts of it might still be a bit slow on less than high end PCs. However, I've tried to design the code to be as psyco-friendly as possible, so you will see quite a noticeable difference with psyco enabled. Remember to add import psyco; psyco.profile() at the beginning of your applications.
Main Features
* Use layers to control rendering order (unlimited layers per scene)
* Sprites you can rotate, scale and alpha blend
* Sprites can be attached to each other for synchronized movement
* Framerate independent animation and movement
* Control sprites via "Actions" instead of manually
updating coordinates every frame
* Fully featured particle effects
* Collision detection
* Scenes and states for structuring game logic
Requires: PyOpenGL, Numeric and Polygon (optional)
Changes
Fixed a bug in the internal timing system and fixed a couple of broken example scripts from 0.9.1.
Links
Releases
Pygame.org account Comments
-
Fabzter 2012-06-06 03:03
Yeah this looks pretty sweet, I want!
-
jmm0 2014-06-03 14:37
You can get the pygext source out of the steamrun-final-src.zip archive here: https://pyweek.org/e/Opioid/