On 21 October 2011 13:10, Gary Daniels <[email protected]> wrote:
> It actually is a scrolling map, but there will also be a pseudo
> lighting layer (like fog of war) and animated tiles so I will need to
> hand code these parts, probably with C extensions. I just need to know
> the fastest way to draw the screen from the 512x512 texture.
You *might* be able to do this with a straight set of Sprites in a
single pyglet batch. pyglet's got some smarts in it for handling
multiple changes to a single vertex buffer in one screen update. If
that doesn't work out then yeah, you'll probably have to write a
simple extension (in C or, more nicely, cython) which manipulates a
vertex buffer directly.
Richard
--
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.