You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
439: Camera Redesign r=astronouth7303 a=pathunstrom
This is the long awaited fix to all the pain points in the Camera. So far, it's just an __init__.
This represents a breaking change in the API.
This touches on a number of issues, some solved wholly by this change, some only fixes part of the problem.
Resolves#185: pixel_ratio is now derived from the number of game units you want visible and the screen resolution. You can "zoom" by increasing or decreasing the width or height of the camera.
Resolves#310: Camera isn't added until SceneStarted event, but is fully initialized as soon as it's available.
Regarding #358: Did not deal with this directly. That test is currently nullified until we can go over it and determine what is going on.
Regarding #400: Removes the pixel_ratio argument from BaseScene.
Co-authored-by: Piper Thunstrom <[email protected]>
Hypothesis found a bug in the Camera. Relevant test failure:
The text was updated successfully, but these errors were encountered: