Skip to content

Extending viewport adapter #596

Description

@aristotaloss

Coming from LibGDX, I was trying to find an implementation of something that is shipped with LibGDX that extends the viewport in either direction (with limits) that works really well for a lot of scenarios:

https://github.com/libgdx/libgdx/blob/master/gdx/src/com/badlogic/gdx/utils/viewport/ExtendViewport.java

As far as I can see, there does not seem to be a similar implementation for MonoGame.Extended available. Have I overlooked something, or is there perhaps desire for such a viewport implementation?

Seeing as I need it either way, I wouldn't mind sharing what I come up with if it's not available yet!

Metadata

Metadata

Assignees

Labels

featureA new user-facing capability that does not exist yetscope: viewportViewportAdapters, cameras, resolution scaling, letterboxing, pillarboxing, DPI

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions