Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Unity Flash to HTML5 Without WebGL

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

  1. TristanCms

    TristanCms

    Joined:
    Mar 17, 2017
    Posts:
    29
    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:
    111
    Unity uses WebGL so you'd have to use another HTML engine.
     
  3. Schubkraft

    Schubkraft

    Unity Technologies

    Joined:
    Dec 3, 2012
    Posts:
    1,070
    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:
    1,070
    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:
    331
  7. Schubkraft

    Schubkraft

    Unity Technologies

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