C
C#2mo ago
TOLOXI

how to use wirteLine in monogame

Im trying to gifure out how i can display a score directly on the screen using writeLine but it dosent seem to work
6 Replies
Buddy
Buddy2mo ago
$details
MODiX
MODiX2mo ago
When you ask a question, make sure you include as much detail as possible. Such as code, the issue you are facing, what you expect the result to be, what .NET version you are using and what platform/environment (if any) are relevant to your question. Upload code here https://paste.mod.gg/, save, and copy the link into chat for others to see your shared code! (see $code for more information on how to paste your code)
TOLOXI
TOLOXI2mo ago
my bad ahaha, im coding a space invaders game for a school project. i have a score system thats displaying in the title list as for now. however i wanna chagne that and make it display onto the screen directly. i cant use writeline for that. i searched on the internet and im supposed to use a spritefont but dont know what that is or how its used
TizzyT
TizzyT2mo ago
SpriteBatch.DrawString
TizzyT
TizzyT2mo ago
A spritefont just contains information about the font like Name, Size, Spacing etc. You can make one iirc using the content.mcgb
Want results from more Discord servers?
Add your server