Expanding Pyglet’s Animation Support

Pyglet currently offers very basic animation support, as part of the new sprite support. Today I have been overhauling the animation system to allow a few more complex (but very necessary) features, such as pausing, seeking and looping on a sub-range.

My updates aren’t quite ready for prime time, but they should offer a lot more flexibility, and I will submit them as a patch to the pyglet developers once they are complete. To the updated animation support in action, you can watch the quick video of my most recent project, after the break.

Advertisements

5 comments

  1. Pingback: Enhanced animation code for pyglet « swiftcoding


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s