About nitroix

Entries

nitroix's Trophies

nitroix's Archive

A message to all ppl who use Unity WebGL

Posted by
Monday, August 29th, 2016 3:29 pm

IMPORTANT MESSAGE TO ALL USERS OF UNITY WebGL

Please link people with Unity WebGl to this post

Don’t be lazy. Do what i suggest!

To make unity WebGl work the best with Ludum Dare you should do this:

You have to options:

Build the project again (simpler):
When you are going to build the project go to File -> Build Settings -> WebGL -> Player Settings
Under “Settings for WebGL” and “Resolution and Presentation” change width to 880 and height to 544, also make sure WebGl Template “Default” is selected
On the Ludum Dare site, edit your entree so that width is 880 and height is 600, and unhook the full screen option(we dont need this since Unity creates its own full screen button)

Edit the already built project (faster, also if you have edited the project since submission):
Open the folder that was created when you built the project.
Open the “index.html” file
Change the width of the canvas to 880, and the height to 544 OPTIONALLY: if you are unfamiliar with html, use the replace tool in your text editor, usually Ctrl + F , and replace
height=”600px” width=”960px”
with
height=”544px” width=”880px”
On the Ludum Dare site, edit your entree so that width is 880 and height is 600, and unhook the full screen option(we dont need this since Unity creates its own full screen button)

Feed me that feedback

Posted by
Monday, August 29th, 2016 1:25 pm

Hi, my first ludumdare (compo). Apriciate all feed back. PS: the web version results in error somtimes, just refresh and try again

Link to the page

 

[cache: storing page]