Cool. Thanks. 
sprite.opacity = x
So easy. 

On Tuesday, November 13, 2012 6:43:57 PM UTC-8, Andre D wrote:
>
> Use the sprite class, set the opacity to a value of the sprite object 
> from 0-255. 
>
> On Tue, Nov 13, 2012 at 8:09 PM, Jared Nielsen 
> <[email protected]<javascript:>> 
> wrote: 
> > How do I change the alpha of an image to fade it in and out? No amount 
> of 
> > Googling or trial and error is leading me to a solution. 
> > 
> > I'm new to Python and OpenGL. For a first project I want to incorporate 
> a 
> > "slide show" of images that fade as they cycle. 
> > 
> > Any help is greatly appreciated. 
> > 
> > -- 
> > 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/-/WF_MP23_78sJ. 
> > To post to this group, send email to 
> > [email protected]<javascript:>. 
>
> > To unsubscribe from this group, send email to 
> > [email protected] <javascript:>. 
> > 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 view this discussion on the web visit 
https://groups.google.com/d/msg/pyglet-users/-/MSMdHjAO7rEJ.
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