Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: singh029 on January 23, 2014, 02:39:47 AM
-
Is it possible to put sprite images next to an element in the UI Popup Menu? It seems like it only allows for text (labels).
Thanks!
-
You can use emoticons to encode images in your label.
-
How do I insert an emoticon into a TTF? or how do i convert a TTF to an FNT(Bitmap Font)
I cant find any converter that converts Krungthep.TTF to an FNT
-
You can't have emoticons in dynamic fonts (yet). Only bitmap fonts that have been added to an atlas can pull other sprites from that atlas as emoticons.
-
Is there support to add emoticons to dynamic fonts yet?
If not, is there an updated video on how to add emoticons to a bitmap font (font maker tool used to create dynamic to bitmap font)
-
Dynamic fonts are too problematic for me to consider using them seriously. Too many issues on Unity's side. I've been improving bitmap fonts instead for that reason. So no, no emoticons in dynamic fonts.
To add an emoticon to a bitmap font, just select the font prefab and follow the instructions there. Enter the emoticon sequence such as "^_^" and choose the appropriate sprite. Hit the Add button, and you're done.
-
Well i got the emoticons to appear. but now the text gets all jumbled up and weird.
I cant get the text to appear when theres an emoticon in the font file.
any ideas?
I converted dynamic font to bitmap font and added an atlas that contained just the emoticon size 20x20. i then added the emoticon "<>".
when i tried using it along with text, it gives some funky results.
-
The atlas is supposed to contain your font as well as the emoticons. Try it with the Arimo20 font to get a hang of it. Choose a sprite, choose a sequence, hit Add. Then create a label using Arimo20 font and print the sequence.