Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scale_x and scale_y for sprites #748

Open
GoogleCodeExporter opened this issue Apr 6, 2015 · 0 comments
Open

scale_x and scale_y for sprites #748

GoogleCodeExporter opened this issue Apr 6, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

I wanted to scale sprites independently across the x/y axes. To accomplish this 
I patched sprite.py to include additional scale_x and scale_y properties. 

Internally, _scale_x and _scale_y replace _scale, but the scale property is 
still available. It sets both _scale_x and _scale_y at once, but returns only 
_scale_x. I made a note of this in the scale property documentation. 

I noticed this feature has already been patched by another user, but it wasn't 
followed through with because they posted dead links.

Thanks.

Original issue reported on code.google.com by evild...@gmail.com on 3 Jun 2014 at 9:23

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant