if you dig into the code for sprite.py, you'll see that the width and
height attributes are actually properties which return the values of
self._texture.width and self._texture.height and these values are also
used to generate the vertex_list used to draw the sprite texture.  So
you can change the width and height of the underlying texture, then
call self._update_position() to regenerate the vertex list with the
new values.
-- 
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