Skip to content

Conversation

@AnthonyBriggs
Copy link

This is a (hopefully) straightforward change which exposes Pygame's transform.flip in an easy to use way.

  • set Actor.flip to True/False to flip horizontally
  • set Actor.flip to a (horizontal, vertical) tuple to set both axes

This seemed cleaner to use than having separate properties for each axis, eg. actor.flip_horizontal and actor.flip_vertical

@lordmauve lordmauve added actor Issues/PRs involving Actor objects xform Transformations for Actors labels Apr 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

actor Issues/PRs involving Actor objects xform Transformations for Actors

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants