Is Unity WebGL loading? A simple loader

Is Unity WebGL loading? A simple loader

Released Thursday, 22nd September 2016
Good episode? Give it some love!
Is Unity WebGL loading? A simple loader

Is Unity WebGL loading? A simple loader

Is Unity WebGL loading? A simple loader

Is Unity WebGL loading? A simple loader

Thursday, 22nd September 2016
Good episode? Give it some love!
Rate Episode
List

F = (When you publish your Unity application or prototype in WebGL a problem that your testers or players may have is that while the browser is loading the application, no progress bar appears and so they may be tempted to reload the page again and so… F() ).

A simple fix to reassure them is to paste this script at the bottom of the index.html file that Unity produces at build:

This will show immediately “Loading…” and will animate it until the app loader appears. See it here:

image

Cool no? The JavaScript is really basic and should work wherever WebGL does.

 

 

 

The post Is Unity WebGL loading? A simple loader appeared first on Design a Game.

Show More
Rate
List

Join Podchaser to...

  • Rate podcasts and episodes
  • Follow podcasts and creators
  • Create podcast and episode lists
  • & much more
Do you host or manage this podcast?
Claim and edit this page to your liking.
,