Unity makes bitmap font-art word

Tool: bmfont
Link: https://pan.baidu.com/s/1Oz6hUB-tYWvtqfrDACM_eA
Extraction code: 0000

Open the picture management interface

as shown in the picture

Open is empty by default

Operate through the image menu bar above

Import the picture, set the id, and keep the others as default. The id is based on the ansii code value.
After the import is completed, you can preview it and then export it

preview

export

Change the generated .fnt file to a .txt file, and then generate 2 files, import them into the unity project, use NGUI tools to create

Open the editor font of unity ngui

Drag these two files to the corresponding location

Just create it directly (the font created in this way has no material)focus

Unity ngui uses text, ugui uses xml format
Testers recommends using PNG format

The problem encountered: directly import the generated file into the unity project, use ngui to create the font, and the problem cannot be displayed.
It is said on the Internet: Change the .fnt file generated by bmfont to .txt, then import it, and recreate it to display it. I don’t know why

Record: There was a day for fishing...

Guess you like

Origin blog.csdn.net/weixin_44238530/article/details/120890551