Skip to content

Scablable Canvas Size #22

@BenCheung0422

Description

@BenCheung0422

Original: MinicraftPlus/minicraft-plus-revived#277

Background

The current canvas size is quite fixed, especially the aspect ratio. If the window size is changed, the canvas is just either magnified or diminished, without extending to fit the window area.

Details

Like in Minecraft, the canvas should fit completely the window area. The UI element size should also be configurable accordingly. Also, there should be the minimum size of the window, which should not be less than 800x600, and should be small enough for any common desktop terminal size. Note that the aspect ratio can be any, so even ratio like 32:9 could be accepted. If the window is forcedly set (not by command line argument or window resizing function) to a smaller size, the canvas is either not rendered or rendered with just a warning screen.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions