-
Notifications
You must be signed in to change notification settings - Fork 113
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
How to make canvas full browser window dimensions? #67
Comments
I'm sorry that I didn't see this earlier; my spam filter seems to have gotten above itself. This is a use-case that I hadn't strongly considered. Currently it's written so that it prefers to set the outer canvas size to the same as the inner size, primarily to squeeze out as much performance as possible even on low-end hardware. There is a scale parameter you can set ( In the long term I think that the correct way to fix this is either to make that resize optional, so that your CSS rules always apply, or to provide another option that tells Emularity either how the canvas should be styled or what the outer size should be. Either seems easy to implement, but I know for a fact that full-screen mode will make them both complicated. We'll probably have to experiment to see what works. |
I am not able to make the window any bigger at all. Tried using DosBoxLoader.scale(), DosBoxLoader.extraArgs('-scaler'), changing the canvas resolution, etc. Every option I try doesn't help in having the game window bigger. The problem with -scaler is that you need to change the output from surface to ddraw or something, but I cannot load a .conf file. I need to have the game screen be fullsize on a 4:3 LCD with a browser in fullscreen. |
i have same problem |
I'm trying to make the dosbox canvas full browser window dimensions
width:100%,height:100%
Once the loader is finished loading it resets the canvas dimensions to 640x400.
The text was updated successfully, but these errors were encountered: