HTMLEngine for NGUI and Unity3D.GUI [RELEASE]

This is the HTMLEngine for NGUI and Unity3D.GUI

It is based on Profixy’s HTMLEngine-Mini.
URL: http://html-engine-mini.googlecode.com/

This modified version has some NEW features.

  1. Add NGUI support. It will render HTML with UILabel and UISprite. This package also contains a NGUI distribution version(No Editor).
  2. Add animation image support for NGUI by UIAnimationSprite.
  3. Change ‘div’ tag to ‘spin’.
  4. Add ‘id’ attribution to ‘p’, ‘spin’, ‘img’ and ‘a’ tags. So the NGUI labels and sprites will use this id as their game object name. After the labels and sprites were generated, we can get them by id easily.
  5. Fixed asia language characters line break bug.
  6. Fixed iOS ‘Strip Assembiles’ issus.

Platform:
Windows, Mac, iOS, Android, Webplayer

Online Demos:
NGUI demo: http://www.goodres.com/html_engine/ngui.html
Unity3D.GUI demo: http://www.goodres.com/html_engine/unity3d.html

Asset Store:
URL: http://u3d.as/4pD

Screenshots:

  1. Sample

  2. Line based text effect

  3. Text based text effect

  4. Image and Animation Image

  5. Hyperlink

  6. Unity3D.GUI Sample

It’s what I need really! thx.:hushed:

Great asset, we are interested in buying. A question:

  1. What is the performance on Mobile (IOS, Android).
  2. Does this support Unity Flash ? and if it does, what is the performance.
  3. We are also interested in your Acid NoSQL data storage plugin. We have the same 2 questions above for this Acid NoSQL plugin.

Thanks.

Hello, I just bought this plugin and it’s not working.

Unity Pro 4.1.2
Mac

  1. Created new project
  2. Imported NGUI 2.5.1
  3. Imported HTMLengine plugin.
  4. Getting Lots of ERRORS in Console, cannot compile.
    HERE IS THE SCREEN SHOT.
    https://dl.dropboxusercontent.com/u/48378123/HtmlProblem.tiff

I also tried removing the NGUI DLL that comes with HTMLengine

Please make this work.

:smile:Good job!

Ok, got it working.

It seems that if NGUI is already in the project, then HTMLengine has problems.

Fix:

  1. Delete existing NGUI paid version
  2. Delete Entire NGUI folder in HtmlEngine.
  3. Reimport NGUI paid version.
  4. Worked.

Sorry for the late reply.

@rocki
You are right. My package contains a distribution version NGUI.
You must replace it with your own paid NGUI.:smile:

:smile: Just bought it!

Version 1.01 has submitted to the asset store already.
It will be available soon.

1.01 changes:

  1. Fix auto scroll to bottom bug.
  2. Fix MergeSameTextChunks space width bug.

Version 1.01 is available in the AssetStore now.

Is NGUI mandatory? I need just the inline with

tags, tags and less important

Hi, I have a problem!! how can I make Unity3D.gui to scroll the results??? I cant get it to scroll with scrollviewbegin :frowning:

Is this enable to change font like a multi-byte encodeing?

could someone give an example of how to setup a font like, standard Arial, to work with the <font face=… tag (e.g. i place Arial.ttf into html engine’s Resources/fonts folder. then call …)

Hi all,

How can I add/edit the predefined HTML data(data used for parsing), at runtime, to get my required result? Lets say I use this HTML string for parsing :

@"<p align=left Visit W3Schools.com!

<p align=left Visited the site

";

Then as per above my result will be :
Visit W3Schools.com!
Visited the site

What to do if I want this result at runtime after editing :

  1. Visit W3Schools.com!
  2. Visited the site, and its good

the result above is same as what ordered list provides us in HTML.
So please help me here if anyone knows the solution.

Thanks

Hi,

I was thinking about purchasing this asset but I have a few questions:

Does the HTML Engine support dynamic (ttf) fonts when using NGUI?

If it does, is there a demo with this in the package?

I see in the store that there is bitmap and ttf fonts in the package and wanted to make sure both were supported because I really like the fact that dynamic fonts scale so much better than bitmap ones.

Thank you,
Dave

Do you have an example on how it can be used with animated images?

it does support dynamic ttf fonts, were using it for localization currently, we made some custom modifications to how it handles fonts, but it actually uses ngui fonts before anything else, so its able to get the correct format you give it. but we dont use the whole <size=> tag, we link ours up in a special way.

Hello. Why when i try view an image like :

i have an error: “Could not load html image from http://s.pikabu.ru/post_img/2013/03/04/11/1362420365_1837099356.jpg”? Does you’r awesome plugin can’t view image by link, or what i do wrong?

Is it possible to create email templates with this asset? I’d like to know this before buying your asset.