Search Unity

  1. Get all the Unite Berlin 2018 news on the blog.
    Dismiss Notice
  2. Unity 2018.2 has arrived! Read about it here.
    Dismiss Notice
  3. Improve your Unity skills with a certified instructor in a private, interactive classroom. Learn more.
    Dismiss Notice
  4. ARCore is out of developer preview! Read about it here.
    Dismiss Notice
  5. Magic Leap’s Lumin SDK Technical Preview for Unity lets you get started creating content for Magic Leap One™. Find more information on our blog!
    Dismiss Notice
  6. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

Unity Flash to HTML5 Without WebGL

Discussion in 'WebGL' started by TristanCms, Jul 17, 2017.

  1. TristanCms

    TristanCms

    Joined:
    Mar 17, 2017
    Posts:
    27
    Hi everyone !
    I made a game few years ago in Flash with Unity. Now I would like to export this game in HTML5. But Unity's HTML5 uses WebGL. I would like to use HTML5 + Canvas.

    Do you know any way to do that ? Directly from unity or with an external tool.

    Thanks a lot !
     
  2. sonofbryce

    sonofbryce

    Joined:
    May 19, 2009
    Posts:
    104
    Unity uses WebGL so you'd have to use another HTML engine.
     
  3. Schubkraft

    Schubkraft

    Unity Technologies

    Joined:
    Dec 3, 2012
    Posts:
    812
    Unity content run in a canvas element but yes we use WebGL. Why do you not want to use WebGL?
     
  4. martin-3361

    martin-3361

    Joined:
    Jan 12, 2018
    Posts:
    2
    WebGL 2.0 specifically has very poor support in lots of modern browsers/versions. On the other hand WebGL 1.0 is not a really good fallback as far as it does not support linear graphics (and games look S***ty).
    So question is does Unity plan to put HTML5/JS export for projects as far as it has huge support by browsers.

    Look at slither.io - html5 + JS and everyone is able to play it. Vast support across almost any client device that may open a game is not to be underestimated, it may often decide the fate of a game.
     
  5. Schubkraft

    Schubkraft

    Unity Technologies

    Joined:
    Dec 3, 2012
    Posts:
    812
    WebGL 2.0 is fully supported by Chrome, Firefox and Edge. Safari is planning on supporting it in the future.
    You can make good looking games in gamma color space too and WebGL 1.0 too. Linear support is relatively new to WebGL 2.0.

    We're not planning to add non-WebGL options right now.
     
  6. kognito1

    kognito1

    Joined:
    Apr 7, 2015
    Posts:
    177
  7. Schubkraft

    Schubkraft

    Unity Technologies

    Joined:
    Dec 3, 2012
    Posts:
    812
    Ups, I stand corrected. Was giving them more credit than is due.