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

fix: [#2619] Camera rotation around the focus #2620

Merged
merged 9 commits into from
May 28, 2023

Conversation

eonarheim
Copy link
Member

@eonarheim eonarheim commented Apr 15, 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 #2619

  • Fixes bug where camera rotation wasn't working when ex.Camera.rotation = ... was set
  • Fixes an issue where TileMap offscreen culling didn't work when the camera was rotated, this was fixed by adjusting how the world bounds worked and testing tile bounds against that.
  • Fixes issue with general offscreen culling during camera rotation

@eonarheim eonarheim merged commit ddc2b88 into main May 28, 2023
@eonarheim eonarheim deleted the bugfix/2619-camera-rotation branch May 28, 2023 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Camera rotation not working
1 participant