Can I type Chinese or Japanese on The MessageBox?
Device->getGUIEnvironment()->addMessageBox(L"中文", L"にほんご");
I tried this on my test but nothing displayed.
How can I do?
Can I type Chinese or Japanese on The MessageBox?
The default font doesn't support any non-ascii chars. It might be possible to make your own font that does, but I've never tried making one with all those characters before.
The problem is that what you see "in-game" isn't actually text, but rather, it shows a part of a font image, based on the letter.
The problem is that what you see "in-game" isn't actually text, but rather, it shows a part of a font image, based on the letter.
Search the forum for truetype, there should be a few threads about doing international font-output. It's not yet build-in but we're working (slowly) on making it easier.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm