0

Just trying to get some basic text displaying on my pygame application, however, I have no text showing up, nor do I have any sort of error. Here is my code:

Just the variable here, I believe there is nothing wrong with it.

textfont = pygame.font.SysFont("monospace", 50)

These lines of code are in my main loop which keeps the display updating...

textTBD = textfont.render("Hello woild", 1,(255, 255, 255))
win.blit(textTBD, (10, 10))

Sorry if its stupidly obvious, I'm new to python and coding in general haha

  • The code in the question is correct. The problem is not reproducible. See [How to create a Minimal, Reproducible Example](https://stackoverflow.com/help/minimal-reproducible-example). – Rabbid76 Dec 29 '22 at 19:17

0 Answers0