When I use BMFont with a text GUI object, the color of the BMFont is equals to text GUI’s color. Can I just keep the BMFont’s color?
I haven’t tried the BMFont format so I don’t know if it behaves differently, but the text node’s color should just be a multiplier, so if you set it to white the colors will appear as they are in the font.
Yes , in the defold editor, it’s show the right color. But when run the game, the color of BMFont just changed to white. Any idea of this?
Might be a shader issue.
Did you set the right material on the font? It needs to be “/builtins/fonts/font-fnt.material”.
2 Likes
That’s it!
I set the font material to “/builtins/fonts/font.material”.
Thank you @sicher
4 Likes
Cool. I noticed that the manual did not explicitly mention this. Fixing!
5 Likes