Pyglet provides some great ways to reduce function-call overhead for sprites (groups and batches). But I still find myself looping through X sprites Y times a second, where X*Y can get quite large, doing things like "x+=dx;y+=dy". I know there are packages like SciPy that can add an entire "dx" array to an "x" array at C-speed, but I'd rather not add the dependency.
Is there a "best practice" for doing this sort of thing in pure Python? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
