Skip to content

Add support for letterboxing #15130

Open
Open
@alice-i-cecile

Description

@alice-i-cecile

What problem does this solve or what need does it fill?

Cutting off segments of the game screen using black bars (a letterbox) is a common technique for both cinematic cutscenes and for supporting unusual aspect ratios, particularly for pixel art.

What solution would you like?

Expose a simple setting that sets the letterboxing mode, probably to Window or cameras.

What alternative(s) have you considered?

Add an example demonstrating how to set this up manually, probably using render targets.

Additional context

Discussed on Discord in the context of pixel art games. Prompted by the closure of #14153.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-RenderingDrawing game state to the screenC-FeatureA new feature, making something new possibleD-ModestA "normal" level of difficulty; suitable for simple features or challenging fixesS-Ready-For-ImplementationThis issue is ready for an implementation PR. Go for it!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions