I see, but this would create a second image. Therefore using more memory, is there no way to flip an image after it has been loaded?
On Apr 30, 4:53 pm, Lucio Torre <[email protected]> wrote: > 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 -~----------~----~----~----~------~----~------~--~---
