I have a 2D numpy array of the dobject type filled with Pyglet sprites. I want to take a 2D slice of this array to get only the sprite that are viable on the screen and draw only those sprites in a batch call. is there a way to take a list of sprites (remember that the 2D slice can be flattened and converted to a python list which can be unpacked as arguments) and add them to a batch all at once so they can be drawn? or add them to an exiting batch?
-- 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.
