lordmauve / pgzero

A zero-boilerplate games programming framework for Python 3, based on Pygame.
https://pygame-zero.readthedocs.io/
GNU Lesser General Public License v3.0
527 stars 191 forks source link

Merge with pgzhelper: add scale, flip_x, flip_y properties, to Actor... #276

Open yansnow78 opened 2 years ago

yansnow78 commented 2 years ago

add scale, flip_x, flip_y properties to Actor the change in code is based on pgzhelper what it does:

scales the anchor point without moving the actor updates width/height slots into the transform stack (after opacity, before rotation) so that operations compose correctly