Hello! I would like to present you my template WebGL Template for Facebook (full-frame) !
This package contains WebGL template suitable for Facebook games.
Features:
logo and progress indicator
downloading progress in Mb
full-frame
You can see it in action in my game on Facebook: http://apps.facebook.com/taptapbuilder
Usage:
make sure you have “Assets/WebGLTemplates/FacebookTemplate/” folder in your project
open player settings (File > Build Settings… > Player Settings…)
switch to WebGL
open “Resolution and Presentation” tab
select WebGL template
build you project
host on server / run locally in Firefox
Feel free to rate it and leave your feedback! Thanks!
1 Like
sathya
March 28, 2017, 5:58pm
2
%UNITY_WEBGL_LOADER_GLUE%
i see this text on top left always in unity 5.6
sathya
March 28, 2017, 6:02pm
3
Can you a template for fixed sized window in the center on iFrame with loading bar and icon.
I’ll check it after 5.6 will be released. But for now - it works with stable release 5.5.2.
sathya
April 3, 2017, 6:01pm
5
How to convert the full screen to smaller size window!. We need a fixed sized window
i publish 4 games recently on facebook and it past 2 months and not see players on my game, please help
Simply use default template and set canvas size!
No i meant how to rescale with this template
I think you can edit Style.css from TemplateData, for example set:
canvas { width: 50%; height: 50%; position: absolute; }
sathya
May 18, 2017, 7:58am
10
cant use it now anyways. This template does not support 5.6.
Have plans to fix it soon, sorry.
The reason is described here: https://fogbugz.unity3d.com/default.asp?899315_7n57dcj0u5vlluv7
So, there are still no updated docs about creating templates for 5.6 =(
sathya
June 9, 2017, 9:50am
12
@hippogames
did you check the updated doc
VicToMeyeZR:
still not fixed?
Unfortunately, it seems there is no way to get download progress in MB with new template system. For now, I’m using default unity template (simple) in my games.
Not talking about the download MB progress… Talking about the template html file doesn’t work at all…
%UNITY_WEBGL_LOADER_GLUE%
Broken…
Use default demplate, it works fine with unity 5.6 and contains download progress in %. After build completed you’ll be able to modify html.
Um, yeah, lol. This is a post on your plugin for a WebGL TEMPLATE… Not talking about default Unity template. SO, your plugin is broken. No need to keep telling me to use the Unity default template. I know it works. seriously
Sure, but it was free) Now this asset is deprecated.