Since that's what animations generally are, yes, it would. You can also use color key-ing. Load the .gif (where you replaced the background with a color that doesn't show up anywhere else, so you know what is transparent and what not), then go through each frame and where a pixel's color is like the transparent one you chose, set alpha to 0. It's a lot of work, generally. Better to use image switching.
On 19 August 2011 23:42, Paul <[email protected]> wrote: > so it would not be an animation then right/?? it would just switch sprite > images at a time interval? > > -- > You received this message because you are subscribed to the Google Groups > "pyglet-users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/pyglet-users/-/Kxqo9h2IupYJ. > > 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. > -- 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.
