Hi,
I can't get my text drawn on the screen. My code gives a few errors.
http://msdn.microsoft.com/en-us/library/ff433981.aspx
Code:SBatch.Begin() SBatch.DrawString(GameFont, "X:" & P(MyIndex).X, New Vector2(10, 10), Color.Red) SBatch.End()Code:Public GameFont As SpriteFontcan someone help me a bit more to get my text drawn?Code:GameFont = OurContent.Content.Load(SpriteFont)("")
nevermind, got it:
Code:GameFont = OurContent.Content.Load(Of SpriteFont)("Fonts\Normal")




Reply With Quote