Wasn't it just image.scale(scale)?

Here's a piece of code...

img = resource.image(image)
img.anchor_x = img.width/2
img.anchor_y = img.width/2
self.sprite = sprite.Sprite(img, batch = parent.batch, group =
parent.visualeffects)
self.sprite.x = pos[0]
self.sprite.y = pos[1]
self.sprite.scale = 0.5

Good luck!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to