Hi,

I think I may have stumbled across the reason why this is happening.
The image I am using is a vertical strip, having only a single column
and ten rows. When re-reading the ImageGrid documentation this
morning, I'm came across this ..

You can specify parameters for the grid, for example setting the
padding between cells. Grids are always aligned to the bottom-left
corner of the image.

So if I interpret this correctly (can someone confirm for me?) it
means that it's taking the first image of ten from the bottom left
corner, which in essence is my last frame of animation, not first.
Hence the animation seemingly playing in reverse.

So would creating an empty image sequence and copying into it images
from the original, but in reverse get round this problem ?

I could of course just change my image to be horizontal instead of
vertical, but wouldn't this work for animation strips that only ever
have a single row ?

Thanks

-Mic

On Dec 15, 9:04 pm, Mic Pringle <[email protected]> wrote:
> Hi,
>
> Is it possible to reverse an animation ?
>
> To explain better what I mean please take a look at this 
> videohttp://uk.youtube.com/watch?v=Om_AAYhDEKE
>
> I put together this demo, and it does everything I want it to do,
> except the filmstrip seems to be going up the window instead of going
> down ? I have tried flipping the texture used for the animation but to
> no avail. So is it possible to run an animation in reverse ?
>
> I hope this makes sense ?
>
> Thanks
>
> -Mic
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to