Camera code reorganization into SimpleCamera and Camera#1354
Merged
einarf merged 6 commits intopythonarcade:developmentfrom Oct 11, 2022
Merged
Camera code reorganization into SimpleCamera and Camera#1354einarf merged 6 commits intopythonarcade:developmentfrom
einarf merged 6 commits intopythonarcade:developmentfrom
Conversation
Camera now inherits from SimpleCamera Fixed bug in Camera.update
Member
|
Thanks! let's just get this merged. |
Member
|
... but maybe look into those failing tests first |
Member
Author
It’s failing the self hosted… don’t know why |
Member
|
Things like this. It's not really necessary to pass in w and h here |
Member
Author
Oh, my bad, let me commit here changing all references to the new camera constructor. |
Member
|
Can probably just search "Camera(" and get most of the issues. |
added 4 commits
October 12, 2022 00:05
Sections now use a SimpleCamera instead. Updated Camera init methods from examples, tests and tutorials to reflect new camera usage
Member
Author
|
Work done! note that I mainly change |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a new camera approach. Changes vs the previous PR:
If it’s ok to you, I can change all references to the old camera to comply with the new one. Also I can write some examples with camera zoom + rotation.