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

feat: [#2688] Add actor level graphics flipping as a QOL improvement #2694

Merged
merged 12 commits into from
Jul 15, 2023

Conversation

eonarheim
Copy link
Member

@eonarheim eonarheim commented Jul 13, 2023

===:clipboard: PR Checklist :clipboard:===

  • 📌 issue exists in github for these changes
  • 🔬 existing tests still pass
  • 🙈 code conforms to the style guide
  • 📐 new tests written and passing / old tests updated with new scenario(s)
  • 📄 changelog entry added (or not needed)

==================

Closes #2688

Changes:

  • Adds new convenience properties on the ex.GraphicsComponent to flip all the graphics on an ex.Actor
    • ex.Actor.graphics.flipHorizontal - Flips all the graphics horizontally
    • ex.Actor.graphics.flipVertical - Flips all the graphics vertically

@github-actions github-actions bot added the enhancement Label applied to enhancements or improvements to existing features label Jul 13, 2023
@eonarheim eonarheim merged commit 898a67c into main Jul 15, 2023
@eonarheim eonarheim deleted the feat/2688-flip-all-graphics branch July 15, 2023 03:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Label applied to enhancements or improvements to existing features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Scale X=-1 breaks collision physics
1 participant