No Fullscreen option fix! (For PC users)
Aggiornato briomidber
di Full screen fix (WARNING: May cause lag/frame drop on lower end PCs or PCs with slow internet connection)
Who might need this fix?
- Only PC and maybe MAC users may want this fix. The game goes full screen on phone when the phone is rotated.
Information about the fix
- This fix uses javascript in the f12 console of the web broswer to adjust the html of the page. (Specifically, the height and width of the game container)
- Because it only adjusts the html and not the game code, it is allowed. This fix does not give any advantage in game whatsoever
The problem:
- Due to this game being ran in a web browser, and no full screen option being available for PC users, we need to manually set the game into full screen. Again, this in no way alters the game code or gives an advantage in game so it is allowed.
The solution:
- When the game is fully loaded in your browser, you can open the f12 console and execute the following Java script to set the game into fullscreen:
//define a function to set the game fullscreen
let setFullScreen = function () {
//get the game screen
let canvas = document.getElementById('unity-canvas');
//remove height and width html styles
canvas.style.height = '';
canvas.style.width = '';
//IMPORTANT NOTE: set the height and width below to your screen resolution here, mine in this example is 1920x1080, but yours could be different
canvas.height = '1080';
canvas.width = '1920';
}
//run the function we defined.
setFullScreen();
//P.S. After running the script above, don't forget to push f11(for PC) to put your browser into full screen and hide the URL bar!
Giocate recenti
Moderatori