First, thanks for the help - I am beginning to really like pyglet as I use it more and I find it quite useful. I'm glad to see an active growing community working with it! Anyway, on with my problems... :)
In my small 2d app, I subclass pyglet.graphics.OrderedGroup to ensure the order of rendering of different sprites and textures. I have a problem though - some of the objects I am rendering cannot be added to sprite batches, so I have added a few null objects to ordered groups so that I can render my objects in the correct layer, but this doesn't appear to work as expected. I am setting my state and rendering the objects in the set_state method, and cleaning up in the unset_state method, but my objects appear to be rendered first, at the bottom layer. Any advice on how to accomplish ordered rendering with foreign objects? Thanks, --Collin --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
