开发者

Unicode string display in XNA

开发者 https://www.devze.com 2023-01-12 01:27 出处:网络
In the game I\'m making, I\'d like to be able to display and have the user input Unicode characters. However, I\'m having problems with usin开发者_C百科g SpriteFonts to handle this task. Including all

In the game I'm making, I'd like to be able to display and have the user input Unicode characters. However, I'm having problems with usin开发者_C百科g SpriteFonts to handle this task. Including all of the Unicode characters uses up WAY too many resources (it even causes VS2010 to crash!), so that's out of the question. But I'm not sure what other options I may have.

I know there are ways to dynamically load Unicode codepoints in an "as-needed" basis, but these methods seem to be geared towards string tables and other static text. All of my text is provided by the user, so a static approach wouldn't work here. Any ideas/help?


The XNA Forums are a good place to ask XNA questions. Here is a question similar to yours: http://forums.xna.com/forums/p/3302/16475.aspx#16475

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号