相关网页4 o! g9 F L- G8 j
http://blogs.msdn.com/garykac/articles/749188.aspx0 E* R7 ]( x9 A; u9 Z J W
http://blogs.msdn.com/garykac/attachment/1184551.ashx
" q: [- d; ~' |- P0 x' [http://blogs.msdn.com/garykac/articles/732007.aspx
L Z( @- Q# f; X( h: W
i( l5 j h, q* w4 WXNAExtras4 X) f# w% ]/ y
The latest release of XNAExtras is 1.0.1201 (beta). It can be downloaded here., i6 o- q; @- m% [
) s, Y. n" g2 {; xXNAExtras is a collection of tools and classes designed to help out with some aspects of writing XNA applications. It currently consists of:
: i* p; f. D( I/ x9 c4 w
& L5 q v8 ?, W; E: c! o; MBMFontGen : A tool to create bitmap fonts from Windows system fonts. Supports Unicode and allows glyph ranges and custom glyph images. See the full documentation for more information. , {3 [: G0 C( }* ?
BitmapFont : Class to load and render fonts created with BMFontGen. (BitmapFont.cs)
- c9 v6 A8 o5 | m6 S1 _" xTextBox : Class to manage more complex text rendering, includes support for rendering text borders to create UI elements. Makes use of BitmapFont and Border. (TextBox.cs) ; a* w. S T( Q$ O; B
XSprite : Classes to manage sprites. Supports shared textures, different framerates for each sprite, keeps sprites sorted by depth (so that transparency works correctly) and allows sprites to be loaded from an XML descriptor file. (XSprite.cs, XSpriteBase.cs, XSpriteGroup.cs, XSpriteManager.cs, TexturePool.cs) s: w' C2 y, o8 U, j' X
Border : Class to draw sprite-based borders. Makes use of XSprite. (Border.cs) |