Thank you so much for this tool. I'm wondering if there is a way to remove the black/custom bars when resizing it; for the game view to take up the entire screen in fullscreen mode.
It's a loading bar that updates based on unity's progress, though it seems like on your game it spends almost all the time on one resource so there's very little animation.
← Return to Unity WebGL Template
Comments
Log in with itch.io to leave a comment.
Awesome stuff!
Also, i would consider adding this (new?) feature for saving PlayerPrefs and files:
Add "autoSyncPersistentDataPath: true" to the config={}
https://docs.unity3d.com/Manual/web-templates-build-configuration.html
Also, adding '-webkit-user-select: none; user-select: none;' to 'div#gameContainer canvas' is advised https://discussions.unity.com/t/odd-issue-with-focus-in-firefox/1651226/2
Thanks for the suggestions, this does seem like a better default. I've added it to the "2020.2 and higher" version.
Thank you so much for this tool. I'm wondering if there is a way to remove the black/custom bars when resizing it; for the game view to take up the entire screen in fullscreen mode.
ah i think i've solved it, for anyone else wondering: comment out these. thanks again for the great template :)
// if (w * r > window.innerHeight) {
// w = Math.min(w, Math.ceil(h / r));
// }
//h = Math.floor(w * r);
Thank you Sean, but why is there a white bar when it first goes to full screen?
https://spore-games.itch.io/freeze-tag
It's a loading bar that updates based on unity's progress, though it seems like on your game it spends almost all the time on one resource so there's very little animation.
I come back to this with literally every game jam I do. Thank you so much for maintaining this.
Still goated. Still what I recommend to people for game jams. Fantastic work