Search Unity

Tutorial - Making Your WebGL game go LIVE using Dropbox!

Discussion in 'Web' started by nevaran, Dec 28, 2015.

  1. Cascho01

    Cascho01

    Joined:
    Mar 19, 2010
    Posts:
    1,347
    Tried so, but after a few seconds of uploading the release folder your service stops (No Connection).
    Is there a size limit?
     
  2. swati_teks

    swati_teks

    Joined:
    Jul 1, 2016
    Posts:
    8
    Just need to ask, do we need to upload the whole Unity project or just the WebGL build?
    Any reply would be appreciated.
    Thanks in advance.
     
  3. BAIZOR

    BAIZOR

    Joined:
    Jul 4, 2013
    Posts:
    112
    It doesn't work for now. Just trying to download HTML file.
    I have an alternative. Try to use this service, it works perfect for me.
    There is my example!
     
    grebenmj and 8Observer8 like this.
  4. 8Observer8

    8Observer8

    Joined:
    Apr 29, 2015
    Posts:
    99
    I use these free services:
    - Unity Cloud Build
    - Github Pages
    - hosting on bitbucket.org
    - heroku.com (5 free apps with server side scripting in Node.js)
    - somee.com (server side scripting in ASP.NET)

    BAIZOR, I will use it too. Good service, because it use https and compatible with vk social network apps.
     
    Last edited: Jan 13, 2017
  5. 8Observer8

    8Observer8

    Joined:
    Apr 29, 2015
    Posts:
    99
  6. Seneral

    Seneral

    Joined:
    Jun 2, 2014
    Posts:
    1,206
    I just figured out it works perfectly fine with github pages, too!
    Just commit the files to a gh-pages branch and without any changes whatsoever it's available at https://username.github.io/game/ :)
    So if you don't need extra fancy GUI around for community and sharing stuff, github pages is perfectly fine. And almost everyone is using git either way so...
    Simple WebGL demo of the Node Editor framework: https://seneral.github.io/NodeEditor_WebGLDemo/
     
  7. 8Observer8

    8Observer8

    Joined:
    Apr 29, 2015
    Posts:
    99
    We can have only a public repo with Github Pages for free. But in bitbucket we can have a private repo.
    It's available at https://username.bitbucket.io/game/

    I will use Github Pages for open source projects.
     
    Last edited: Jan 19, 2017
  8. Seneral

    Seneral

    Joined:
    Jun 2, 2014
    Posts:
    1,206
    Sure, but it won't reveal anything that wouldn't be accessible by anyone either way.
    Everyone can look into any pages code at any time, theoretically could copy it or do whatever with it. And the game itself is encrypted, so IMO it doesn't make a difference other than that it's a bit easier to get the page code.
    And for a quick game upload for free without a big page framework this is really great.
     
  9. LuckyHamster

    LuckyHamster

    Joined:
    Oct 28, 2014
    Posts:
    50
    How do you embed that index.html file into an iframe on your webpage? I keep getting a download of the index.html when i use iframe. I just want the game to load on the current webpage. Here is the html i use:
    <iframe src="my index.html address" style="border:0px #000000 none;" name="Game name" scrolling="no" frameborder="1" marginheight="px" marginwidth="320px" height="320px" width="480px"></iframe>
     
  10. sandeepsmartest

    sandeepsmartest

    Joined:
    Nov 7, 2012
    Posts:
    138
    Hi All,
    Below given is the error that pops out in mozilla browser when I upload my webgl build to Apache server and trigger index.html file.
    Unity version 5.5.X
    Compression format: Gzip.
    How should I solve this issue. All threads and forums are saying to modify .htaccess file but unity is not generating .htaccess file!!
    Help is appreciated.
    Thanks in advance
     
  11. blacKode

    blacKode

    Joined:
    May 21, 2015
    Posts:
    38
  12. 8Observer8

    8Observer8

    Joined:
    Apr 29, 2015
    Posts:
    99
  13. TheRoccoB

    TheRoccoB

    Joined:
    Jun 29, 2017
    Posts:
    54
    This is an old thread, but the site that I developed https://simmer.io makes this really simple. And you can embed games on your own site for free.

    Firebase is great too, or you can use Github these days too!