I'm currently implementing a change to Pyglet's Sprite class that would 
allow sprites to be scaled both horizontally and vertically.

I'm currently tossing up between two possible implementations:

 - Change the existing `scale` property to be a tuple of 2 floats.
 - Have two separate `scale_x` and `scale_y` properties.

If the scale setter was changed, it would be able to accept a number to 
scale the sprite by the same amount in both directions (as is the current 
behaviour).

The code branch can be found here: 
https://bitbucket.org/dxsmiley/pyglet/branch/sprite-scale

Any thoughts on which method should be used would be appreciated.

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to