>> What new features will the new version have ? > > Lots of good things are already in SVN... rest assured I'll be talking > more about these when documentation starts appearing and the holes are > plugged. Briefly, pyglet 1.1 introduces: > > * An optional pyglet-controlled event loop (pyglet.app). I know you > all like to write your own event loops, but trust me, this one is more > efficient, plays nicer with the CPU and OS, and allows for such > niceties as live window moving & resizing and easier management of > multiple windows. > * A low-level graphics API (pyglet.graphics). This is for hardcore > OpenGL programmers only; it provides an abstraction of vertex arrays > and buffer objects. Internally this is used by pyglet for faster text > and image rendering. > * Animated GIF support (pyglet.image.load_animation). > * New image attributes: anchor_x and anchor_y, permit the "origin" of > an image to be moved from the default bottom-left corner. This is to > simplify use of... > * Sprites (pyglet.sprite). Support for position, scale, rotation and > animation. A "batch" of sprites can be drawn all at once much, much > faster than calling "blit" on each image individually. > * Text layout (pyglet.text). Multiple fonts, styles and paragraph > formatting can be combined and drawn much faster than with the (now > deprecated) pyglet.font.Text class. Text can be efficiently modified > incrementally, making it suitable for use in a text field. > * Resource loading (pyglet.resource). Locates images and other files > on a "resource path" which can include zip files. This solves quite a > few problems when applications are started from outside their working > directory. The resource module also optimises image loading by > packing multiple small images into larger textures. > Pardon me, I need a tissue. The new features are simply delicious.
I look forward to 1.1 with great anticipation! Good work Alex, Richard, and others! Cheers, Steve --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pyglet-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en -~----------~----~----~----~------~----~------~--~---
