On 17 February 2010 16:53, Philippe <[email protected]> wrote: > I can easly move a Sprite with x and y. > What about its alpha ? > I looked in Sprite and in AbstractImage ; but could not find that > property. > > Is there a way to modify the alpha of a sprite ?
Use the opacity property. http://www.pyglet.org/doc/api/pyglet.sprite.Sprite-class.html#opacity -- Mikael Lind http://elemel.se/ -- 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.
