[Tutorial] Making the game fill up the window in the browser.

  • I have a chromebook so I'm pretty forced to use the browser version. Problem is, the game view is so small in window mode. I came up with a quick hack to get it to fill up the screen.

    1. Load up the game on the browser and login
    2. RIght click and press "inspect element"
    3. Go to the console tab and paste in this chunk of code:

    $(".template-wrap").css({transform: "none", "-webkit-transform": "none", margin: "0"}); $("#gameContainer, #loading-panel").css({position: "absolute", top: 0, left: 0, width: "100%", height: "100%", zIndex: 10000})

    Then press enter.

    For those who might be paranoid about what it does, it just finds the HTML element corresponding to the game's view and then expands it to fit the entire window. If you're still paranoid, then you don't have to use it.

    Perhaps in the future there may be a button that allows you to toggle this.

  • this is gr8

Log in to reply