.
Is the font color of the ‘starling’ bitmap not working?
.
Hey, I just used a “bitmap font creation” tool recommended by a friend to set up and export “bitmap fonts”.
.
A friend recommended a tool for creating bitmap fonts
I gave feedback on a very strange phenomenon. At first, I didn’t use bitmap fonts. Today, I used bitmap fonts and exported the yellow font as shown above, but it kept displaying black. I don’t know if I deleted the “Export” folder or if I published another target. When I published H5 again, the bitmap font could display correctly.
.
Mmm! I have been studying alone for a day. I have resolved the issue with the font color of the bitmap. Novices need to note that if your font is colored, the text box color attribute should be set to white. If the exported font is white, you can use the text box to set any color.
.
In the project configuration file, I directly include all the resources of the entire folder, which is very convenient, isn’t it? But there is a problem, if I modify a texture file in the folder later and recompile H5, the resource will still be the same as before, so I need to delete the resources in the exported resource and compile it in order to update my resource. Research alone and provide feedback on any issues discovered.
.
After careful consideration, at first, it seemed like I was exporting a black bitmap font because I was eager to test it and used the tool’s default color of black for export. Now, thinking about it, every time I compile, the resource texture is always the same as the original black bitmap font texture, because I include the entire folder of resources in the project file. It seems that this is the reason why the texture has not been updated
You could keep a blog or similar of your research, Studying alone is hard but if you can make your community more prolific and creative then it is really positive. Also what we learn and use one day we forget many months later, so one time you will be googling a problem and find your own previous solution!
.
I am using a bitmap sequence diagram to synthesize bitmap text, but when displaying the text, the dots are incorrect? Did Xiaodian run up there? How to solve it?
.