View Single Post
Old 09-23-2008, 04:03 PM   #33 (permalink)
shutout5591
Jr. Member
 
Join Date: Jun 2007
Location: Mass
Posts: 332
shutout5591 will become famous soon enough
Default

Quote:
Originally Posted by itsnotabigtruck View Post
Awesome! I'll be sure to try it out.

I verified that it isn't set by default (in fact, I don't think the <DefaultCharacter> XML setting is documented anywhere, though that's probably mainly due to the fact that the documentation for XNA 3.0 is weak overall).
Great! Let me know how it works for you.

I wasn't quite sure where to put DefaultCharacter. Heres where i put it
Code:
<?xml version="1.0" encoding="utf-8"?>
<!--
This file contains an xml description of a font, and will be read by the XNA
Framework Content Pipeline. Follow the comments to customize the appearance
of the font in your game, and to change the characters which are available to draw
with.
-->
<XnaContent xmlns:Graphics="Microsoft.Xna.Framework.Content.Pipeline.Graphics">
  <Asset Type="Graphics:FontDescription">
    <DefaultCharacter>?</DefaultCharacter>
  </Asset>
</XnaContent>
Its the last of the Asset declarations before the character region. When i had it before the sytle element, it said compile error, so i put it after.

Let me know how it works!
__________________
~Shutout5591~

[FINAL] Asteroids 1.0
If you like me work or I have helped you, + Rep me!




shutout5591 is offline   Reply With Quote