I have known how to display a text.But how can I change it dynamic?Because it is a object too, I can replace it, But I don't know how to change it's text, Is there a way?
Or the better way to create a text is use OrxText module instead of orxObject ?
Comments
Also if you use the locale module for localization, whenever you select a new language, all the text objects will be updated automatically (cf. tutorial #10).
EDIT: Wrong tutorial number, fixed now.
Will it be easy to display chinese with that?
This way you'll be able to display chinese text with a user custom font (not with the default one as it's a plain ASCII non-accented one, couldn't find a better open source font so far).
I'll let you know when the UTF-8 support will be ready.
I didn't know how to use a custom font now,and there is not a tutorial.
FreeType would help creating glyphs out of font files, not helping me to support unicode string internally in orx's text module.
But UTF-8 support is very easy, I'll give it a try over the week end.
It's a new feature of orx 1.2, hence not documented yet. I'll update the tutorial #10 before the release.
If you could also find me a nice open source/free font with chinese character support in bitmap format (I can make a bitmap out of a font file, anyway, it's just an extra step for me), I'd use it in the tutorial.
Also, if you could provide me with a chinese translation of "This is Orx's logo", that'd be nice.
http://wenq.org/enindex.cgi
Web in sourceforge:
http://sourceforge.net/projects/wqy/files/
It's used in a lot of Linux with Chinese.
I'm glad that I can help.
The Chinese translation of "This is Orx's logo" is "这是Orx的标志"
And "这是Orx的Logo" could be acceptable too,because we use "logo" in china frequently.
By the way, did orx have a chinese name?
OGRE is "鬼怪“
Irrlicht is "鬼火”
But I don't know what "orx" means.
As for the meaning of orx, it's named after a swamp near my birth place, so it doesn't have a special meaning, I just happen to like the name.