A fast 2D sprite engine using OpenGL
Project description
Rabbyt is a sprite library for Python with game development in mind. It has two goals:
Be fast, without sacrificing ease of use.
Be easy to use, without sacrificing speed.
For a quick rundown on the current features see the website.
You can find the reference documentation here.
Changelog
Version 0.6
Sprites can be scaled independently on their x and y axises.
Added left, right, top, and bottom properties to Sprite.
Fixed bug with some sprites being drawn upside-down when rotated.
Fixed c, pyx, and pxd files being installed.
Added a small function for integrating with the chipmunk/pymunk physics lib.
Version 0.0.5
c source files are included, so Pyrex is not needed for building.
Renamed the DV* classes to Anim*. (This is mostly internal and shouldn’t affect anyone.)
MANY fixes and improvements to font rendering. (As in, it’s actually useful now!)
Lots of docstrings added and improved.
pygame_load_texture() now takes filter and mipmap arguments, which are passed on to load_texture().
Version 0.0.4
Fixed compiling on MS Windows.
Added some simple helpers for physics simulation.
Moved all non-rendering code out of Sprite and into BaseSprite.
Added font rendering support.
Using color data in VertexArray rendering is now optional.
VertexArray can now optionally bind a texture before rendering.
Fixed a bug with VertexArray barfing when not given all the data for a vertex, instead of using defaults.
Fixed a segfault when trying to load a texture before initializing the OpenGL context.
Switched DVProxy and DVPyFunc to not cache by default. (Premature optimization is the root of all evil.)
All examples now respond to window events nicely.
Version 0.0.3
Added DVProxy and DVPyFunc classes. (Assigning a function to a sprite property creates a DVPyFunc transparently.)
Added basic arithmetic operations for DV classes.
Added Sprite.attrgetter() for super fast property access.
Changed rabbyt.collisions.rdc() to not return groups with only one object.
Added a number of introductory examples, showing the basic features.
Version 0.0.2
Added vertex array rendering.
Added collision detection.
Lots of docstrings added/improved.
Added rgb property to Sprite.
Version 0.0.1
Initial release!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file Rabbyt-0.6.tar.gz
.
File metadata
- Download URL: Rabbyt-0.6.tar.gz
- Upload date:
- Size: 150.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5be58af3dcd796358c65a6c0d2725adb951538c61b9cb7379c06ad2c6e4ae410 |
|
MD5 | 629b1c88efe8587ef2ed4958bcb6a0dc |
|
BLAKE2b-256 | e9135a580b02cce5695c0b2c3342c4cd1f292f8f50bc68fa67398d00ac98585a |
File details
Details for the file Rabbyt-0.6.win32-py2.5.exe
.
File metadata
- Download URL: Rabbyt-0.6.win32-py2.5.exe
- Upload date:
- Size: 171.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a75047880a21f2e1e4009133442c15abbc328034ac16d6bdf65bfa562511dc2 |
|
MD5 | 1a20141e7f71a7ee349bf3efc26932c0 |
|
BLAKE2b-256 | a904181740160ce9e666de46ab70930909a216991bdc0de41f179bc346379a14 |
File details
Details for the file Rabbyt-0.6-py2.5-win32.egg
.
File metadata
- Download URL: Rabbyt-0.6-py2.5-win32.egg
- Upload date:
- Size: 117.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f8b12ad585de6238554900daaf0ca2d189060a99d86a221ac76d52da71f25e5 |
|
MD5 | 7c3d3870078133650bfb8213933e5733 |
|
BLAKE2b-256 | 7b8299acab09517d378a92bf085d440ef939fb02daed3d84fba3a1688515e520 |
File details
Details for the file Rabbyt-0.6-py2.5-macosx-10.3-fat.egg
.
File metadata
- Download URL: Rabbyt-0.6-py2.5-macosx-10.3-fat.egg
- Upload date:
- Size: 498.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f747513a3055ead32412adb074a8e476f6fd298205243aa8b4fd6ba40927ed5c |
|
MD5 | f9b1473c9fe3140f45552b0343f5c96f |
|
BLAKE2b-256 | 176c4ea235b8da0f9e325be3346490074a3d83402a208019d57957a6263aaa36 |
File details
Details for the file Rabbyt-0.6-py2.5-linux-i686.egg
.
File metadata
- Download URL: Rabbyt-0.6-py2.5-linux-i686.egg
- Upload date:
- Size: 322.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87e418cad9b0167e4b41fc306b922594c32f6d0dc771c1ed51f3fa5ff89c6b10 |
|
MD5 | 2a3fca29549cf1022f9536b0a20d6b5c |
|
BLAKE2b-256 | 5180d5244af9ed78bc3036ece5eda2445173f89e79f2a95a951f2127fb4ccb29 |
File details
Details for the file Rabbyt-0.6-py2.4-linux-i686.egg
.
File metadata
- Download URL: Rabbyt-0.6-py2.4-linux-i686.egg
- Upload date:
- Size: 300.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31fe07b85aed8272644328857edbddb4a09722a3a74cdf721dc3b80ae39569ef |
|
MD5 | 770926283d2f4b830fff81c32960b894 |
|
BLAKE2b-256 | f57211bc00d528158bf1e9fcecb86bce1f0117fb6c17d93f75e3a8514814af1f |