Search Unity

HTMLEngine discussion (+online demo)

Discussion in 'Immediate Mode GUI (IMGUI)' started by UnityDigger, May 31, 2012.

  1. UnityDigger

    UnityDigger

    Joined:
    Nov 20, 2011
    Posts:
    79
    Hi again.

    It's time to discuss about my new HTMLEngine.
    $htmlengine0.png
    LICENSE: MIT

    update:
    - <a href...> now works
    - HtmlGUI.Label method
    - unitypackage

    Online demo: http://profixy.ucoz.com/demo2/WebPlayer.html (hope link works)

    ....
    Totally free of charge open source
     
    Last edited: Aug 14, 2012
  2. OmniverseProduct

    OmniverseProduct

    Joined:
    Feb 26, 2012
    Posts:
    1,568
    I have something, I hear that HTML Engines in general have bad security. I was wondering how you plan to combat that?
     
  3. UnityDigger

    UnityDigger

    Joined:
    Nov 20, 2011
    Posts:
    79
    Here is no any javascript/cookies/passwords. Combat what?
    This engine do only one thing: Parse text and creates queue of graphics commands. In general.
     
  4. monark

    monark

    Joined:
    May 2, 2008
    Posts:
    1,598
    Well speaking from a commercial company standpoint, we'd be happy to pay a per site fee to use a closed source offering, as long as it did enough to meet our needs (which incidently don't go far beyond what you have done already) If it was per seat we'd also concider that. But per title i don't think so. Once you get into that area we may as well write our own.

    Awesome work btw

    Any thoughts on supporting basic tables?
     
  5. UnityDigger

    UnityDigger

    Joined:
    Nov 20, 2011
    Posts:
    79
    Thanks for reply.

    About tables... Table is a set of cells where each cell is a html text again. To make tables like in real html, it needs something like grid-layout-engine inside current forward-parsing-engine. This will eat memory and processor time as much as table grows.

    There is two ways:
    1) Application level, where someone create grid somehow (e.g. with GUILayout.* or just Rect cells = new Rect[cols,rows]) and draw these rectangles using RESULTs
    2) Engine level, where engine parse <table> tags with some different than forward-parsing. Compile each <td> as plain... Well... I think it's possible if table columns will be fixed-sized like <td width=...>... Will think more.
     
  6. Dude882008

    Dude882008

    Joined:
    Apr 1, 2009
    Posts:
    3
    Great Work. I think that open source (on GITHUB) or something like that would be great. I would like to help expand the tag supports and some css suport.
     
  7. dkozar

    dkozar

    Joined:
    Nov 30, 2009
    Posts:
    1,410
    Interesting stuff! :)

    Would also be great if text selection could be accomplished...

    Great stuff anyway...
     
  8. WinterboltGames

    WinterboltGames

    Joined:
    Jul 27, 2016
    Posts:
    259
    where is the download lin please I am very interested!
     
  9. Donutask

    Donutask

    Joined:
    Apr 24, 2019
    Posts:
    7
    WinterboltGames likes this.
  10. WinterboltGames

    WinterboltGames

    Joined:
    Jul 27, 2016
    Posts:
    259
    Donutask likes this.