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

No way to specify window resolution #8

Open
globalcitizen opened this issue Sep 3, 2016 · 1 comment
Open

No way to specify window resolution #8

globalcitizen opened this issue Sep 3, 2016 · 1 comment
Projects

Comments

@globalcitizen
Copy link

globalcitizen commented Sep 3, 2016

If you call ROT.Display() it only accepts arguments in characters, ie. specifying that the console should be X by Y characters (of the supplied font).

This is annoying, for example in the case that you want to go full screen at some resolution or other then back-calculate text width and height resolution to make optimum use of the available screen space.

If you manually set screen mode before creating a ROT.Display() instance then ROT.Display() overwrites the screen mode. If you set afterwards, then you wind up with ROT.Display()'s character resolution not matching the screen mode.

Not a problem for me as I am working around this by avoiding the use of ROT.Display() entirely and using a tile-based approach... but seems a pretty serious issue if others look to use this to do anything more serious than a quick hack.

@paulofmandown
Copy link
Owner

I agree, that should be easier. There used to be a scale option in Display, but I appear to have removed it by accident some time ago. I've added it back in 833bdcd

I'd like to add a setResolution, and pull the bits that would have to be re-called out of __init and into a separate function.

@paulofmandown paulofmandown added this to Review in rotLove Sep 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
rotLove
  
Review
Development

No branches or pull requests

2 participants