Skip to content

Screen Resolution(?) causing issues with console window size initialization #8

@WilliamPas

Description

@WilliamPas

(NEWB USER ALERT)

SO I found this package after spending weeks trying to draft up a design for my own engine and instantly fell in love. However I'm having some issues running some of the examples, and I feel this has to do with the desktop space set by windows. I am viewing the project through Visual Studio 2017 with all .Net SDK's up to 4.7

image

First time I ran into this issue was when I tried to run the CaveGenerator.cs example. (My newb self doesnt know how to run the project from different class files so this is how I've been testing the examples.)
image

My desktop screen resolution is 720p (1366 * 768). I also had a friend who's screen resolution is 1080p (1920*1080) When I run the example, an exception is thrown stating that the max window size my console allows is 63, when it needs 65.
image

Now if I try to edit the window height size directly within cmd properties to 65, it will force the window size back to 63.
image
image

HOWEVER, with this example, if I turn on "Hide taskbar in Desktop mode" within windows taskbar settings, windows allows me to set the height size property to 65. This results in the program running as intended.
image

It seems Windows really cares how much space there is on the desktop is when launching a console. With this change to my taskbar I can run every example except for the 3D and Hello World example, which ends up being too big.
image

Perhaps there's a way to set the console font size before console width and height?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions