0

I am creating a game about internet safety but when using SpriteFont the light colours such as white or light blue come up really grainy and low quality. Black on the other hand is really clear. I was wondering if there is a way to fix this?

Image with black colored SpriteFont

Image with white colored SpriteFont

OpalRing
  • 15
  • 1
  • 4

1 Answers1

0

Have you tried increasing the size of the font to the double and set the scale to half?

You can do this by open your spritfont file with visual studio and edit the value inside the 'size' tag. Then set the scale when you call on DrawString:

float scale = 0.5f;
spriteBatch.DrawString(myFont, "Hello World", fontPosition, Color.White, 0f, 
    fontOrigin, scale, SpriteEffects.None, 0.5f); 
  • Thanks, that worked really well! Just meant more adjusting with the centring but thanks all the same! – OpalRing Dec 31 '15 at 18:25