On Thu, Apr 30, 2009 at 6:00 AM, motteneder <[email protected]> wrote:
> What exactly do you mean by "and changing the sprite image" ?

image = pyglet.resource.image(file)
image_flipped = pyglet.resource.image(file, flip_x=True)

s = Sprite(image)
s.image = image_flipped

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cocos2d discuss" 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/cocos-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to