Ion101

ANyone have a site, or Tutorial for drawint text.(new to XNA). i have tried i few but the class they provide, have the Texture2D.FromFile, line in it, and it wont let me run it.


Re: XNA Game Studio Express Drawing Text


Re: XNA Game Studio Express Drawing Text

Glenn Wilson

You will find that there is no built in way at the moment, and a lot of the examples that are out there are still based on the betas. The most current one at the moment is the TTF font system from http://www.nuclex.org/framework/fonts (As mentioned above), but this will not work on the 360. There have also been some of the other methods updated...

For example you have the XNA Extras system that has been converted to the Release but has not been updated for a little while (Hoping to get an update soon :) ), then there is a system from www.ziggyware.com (But it is still in Beta 2, will this get updated ). But there is also an option to use Manders vs Machine's option.

I am personally using my own textures and rendering the text that I need, and not using the full text processing....






Re: XNA Game Studio Express Drawing Text

Ion101

kk, cuz i am only using my 360, cuz i dont want to buy i new video card, or a wired controller to test them out my 360. so since http://www.nuclex.org/framework/fonts doesn't work on the 360, i guess i'm S.O.L for now




Re: XNA Game Studio Express Drawing Text

Cygon4

Glenn Wilson wrote:

You will find that there is no built in way at the moment, and a lot of the examples that are out there are still based on the betas. The most current one at the moment is the TTF font system from http://www.nuclex.org/framework/fonts (As mentioned above), but this will not work on the 360. There have also been some of the other methods updated...



It will work with the updated release I'm going to post later this day :)

The current release is using SurfaceFormat.Alpha8 for the characters which turned out to be unsupported on the graphics card of the XBox 360.

-Markus-