Editing WebGL
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 3: | Line 3: | ||
== Tips for the Best Experience == | == Tips for the Best Experience == | ||
− | To get the fastest play experience, it is recommend you | + | To get the fastest play experience, it is recommend you follow all of these steps: |
− | + | # Visit https://www.warlight.net/ChangeUnityWebGL and select the option for WebAssembly (wasm). The wasm version loads much faster on most browsers. | |
+ | # Install FireFox 58 or higher. At the time of this writing, to get FireFox 58, you must go to the following URL and click download next to the "Nightly" option: https://www.mozilla.org/en-US/firefox/channel/desktop/ | ||
+ | |||
+ | Using these steps, the WebGL version loads in a few seconds for me. | ||
== Measuring Performance == | == Measuring Performance == | ||
Line 11: | Line 14: | ||
To officially compare load speeds of the WebGL version of the game, you can use these links: | To officially compare load speeds of the WebGL version of the game, you can use these links: | ||
− | + | Wasm: https://www.warlight.net/MultiPlayer?Unity=1&UnityFilename=UnityWasm1024&UnityStats=1 | |
− | + | Normal: https://www.warlight.net/MultiPlayer?Unity=1&UnityMemory=1024&UnityStats=1 | |
When using UnityStats=1 as these links do, it will print the load speed in the upper right corner once loaded. The key number to look at is the last one, where it says Loading=. Numbers are in milliseconds. | When using UnityStats=1 as these links do, it will print the load speed in the upper right corner once loaded. The key number to look at is the last one, where it says Loading=. Numbers are in milliseconds. | ||
I recommend refreshing a couple times after loading the game this way, and taking the fastest time. This ensures the game's files get cached in your browser so we're only measuring load time, not download time which is dependant mostly on how fast your internet connection is. | I recommend refreshing a couple times after loading the game this way, and taking the fastest time. This ensures the game's files get cached in your browser so we're only measuring load time, not download time which is dependant mostly on how fast your internet connection is. |