Skip to content

Is there a camera limit smoothing alternative on PhantomCamera2D ? #411

Discussion options

You must be logged in to vote

Think that happens because you're using the default (disabled) Stretch Mode inside Project Settings?
As it would mean that as the window gets bigger, so too does the Viewport Width / Height of the camera. The complication is that if you have a relatively compact limit region and increase the window size too much, then the camera's viewport may extend beyond the bounds of the limit. Which can result in the PCam2D getting confused as it's now bigger than the area it's confined too.

If you change the Viewport Width / Height inside Project Settings to match your full-screen resolution, and see how it behaves in the editor, then might give a better clue for how it behaves during runtime.

Happy…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@ClementMONDARY
Comment options

@ramokz
Comment options

Answer selected by ClementMONDARY
@ramokz
Comment options

@ClementMONDARY
Comment options

@ramokz
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants