Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scablable Canvas Size #22

Closed
BenCheung0422 opened this issue Dec 22, 2024 · 1 comment
Closed

Scablable Canvas Size #22

BenCheung0422 opened this issue Dec 22, 2024 · 1 comment

Comments

@BenCheung0422
Copy link
Member

BenCheung0422 commented Dec 22, 2024

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.

@BenCheung0422
Copy link
Member Author

Superseded by #26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment